Given the following script: var f = new Function("a", "b", "return a + b"); f(2, 3); The source code for the function will not be reported to the Debugger::sourceParsed callback and will not be visible to the Web Inspector. This also happens does not happen for functions created by WebCore::JSLazyEventListener. <rdar://problem/12679475>
Created attachment 205497 [details] Patch
Comment on attachment 205497 [details] Patch Can we test this with an inspector test?
(In reply to comment #2) > (From update of attachment 205497 [details]) > Can we test this with an inspector test? Probably, but the Inspector tests use the old Inspector. We will be redoing that soon to use the new front-end but it will require most tests to be replaced. I'd rather not add new Inspector tests until that happens.
Comment on attachment 205497 [details] Patch Attachment 205497 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/930508 New failing tests: inspector/debugger/debugger-script-preprocessor.html
Created attachment 205518 [details] Archive of layout-test-results from webkit-ews-03 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-03 Port: mac-mountainlion Platform: Mac OS X 10.8.3
Comment on attachment 205497 [details] Patch Attachment 205497 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/988028 New failing tests: inspector/debugger/debugger-script-preprocessor.html
Created attachment 205549 [details] Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-11 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.3
http://trac.webkit.org/changeset/152091