Bug 1107541 - display eval scripts with a sourceURL pragma correctly in the debugger r=fitzgen

This commit is contained in:
James Long
2014-12-08 15:49:34 -08:00
parent b5a0963fff
commit 659b1f0a47
9 changed files with 119 additions and 21 deletions

View File

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