Bug 1131756 - properly display anonymous sources when they are needed in the debugger r=ejpbruel

This commit is contained in:
James Long
2015-05-13 18:18:48 -04:00
parent 59a32892a0
commit b73c2e196a
8 changed files with 97 additions and 19 deletions

View File

@@ -8,3 +8,7 @@ function evalSource() {
function evalSourceWithSourceURL() {
eval('bar = function() {\nvar x = 6;\n} //# sourceURL=bar.js');
}
function evalSourceWithDebugger() {
eval('bar = function() {\nvar x = 7;\ndebugger; }\n bar();');
}