javascript - sourceURL in Firefox 24 doesn't seem to work -
i can't //# sourceurl comments work in firefox 24.
here test.html:
<html> <script src="test.js"></script> and here test.js:
document.write('<p>hello</p>'); //# sourceurl=one.js var fn; fn = eval("(function two() { console.log(1); })\n//# sourceurl=two.js"); fn.call(); fn = new function([], "console.log(2);\n//# sourceurl=three.js"); fn.call(); if work, should see 3 files in firefox debugger: one.js, two.js, , three.js. however, debugger shows me 1 file, test.js:

any clues i've missed?
nope, sourceurl isn't implemented in firefox yet.
see bug 904144 (engine), bug 833744 (frontend).
however, firebug seems support it.
Comments
Post a Comment