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:

firefox debugger

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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -