[Webkit-unassigned] [Bug 146389] Web Inspector: reveal source from webView.evaluateJavaScript
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 29 10:44:07 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146389
--- Comment #4 from Joseph Pecoraro <joepeck at webkit.org> ---
(In reply to comment #0)
> Created attachment 255710 [details]
> Image example
>
> If you run javascript with webView.evaluateJavaScript the inspector does not
> know about the source.
You can name the script using a sourceURL comment:
let script = "/* ... /*\n//# sourceURL=myEval.js";
Then the script should show up in Web Inspector under "Extra Scripts" with the name "myEval.js". You may set breakpoints, etc.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150629/8d6d847a/attachment.html>
More information about the webkit-unassigned
mailing list