Currently sourceURL field could be set for - standalone scripts (<script src=foo.js></script>) - evals - scripts in dynamically created script element To distinguish between first two we should provide hasSourceURL flag for each script.
This patch depends on https://codereview.chromium.org/10966011/ landed in v8.
Created attachment 164939 [details] Patch
Created attachment 164940 [details] Patch
Comment on attachment 164940 [details] Patch Attachment 164940 [details] did not pass cr-android-ews (chromium-android): Output: http://queues.webkit.org/results/13955258
Comment on attachment 164940 [details] Patch Attachment 164940 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13935277
Committed r130138: <http://trac.webkit.org/changeset/130138>
inspector/debugger/source-url-comment.html times out on all the chromium bots. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20webkit.org&showExpectations=true&tests=inspector%2Fdebugger%2Fsource-url-comment.html http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=inspector%2Fdebugger%2Fsource-url-comment.html
Added to TestExpectations for now: http://trac.webkit.org/changeset/130193