Comment #3 on issue 2342 by [email protected]: Support sourceURL for dynamically inserted scripts.
http://code.google.com/p/v8/issues/detail?id=2342
I call inline those scripts that were present in the HTML source. The url they were loaded from is the same as the one of the HTML document itself. I don't see the reason why someone would need to give them another sourceURL. It would also be tricky to correctly treat them in DevTools as their line/column number wouldn't be correct.
This patch allows to give sourceURL to scripts inserted into DOM dynamically, e.g.: el = document.createElement("script); el.textContent = ...; document.head.appendChild(el); Such scripts might have been loaded from some url and we need a way to link them to this url.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
