[Webkit-unassigned] [Bug 146389] Web Inspector: reveal source from webView.evaluateJavaScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 27 17:05:10 PDT 2015


--- Comment #3 from Koen Bok <koen at motif.co> ---
The main use case for us is that we insert new Javascript all the time with our editor in Framer Studio (http://framerjs.com).

If there is an error in the users' code, we now cannot use the debugger because the code got passed through evaluateJavaScript and the inspector does not know about it.


I tried the following workarounds:

- I wrapped my script in a <script> tag with the source in base64. This works for small scripts, but has a ton of overhead, and I think there is a limit on the script size that I hit pretty quickly.

- I tried to add the code to a UserScript (which the inspector knows about under extra sources), but there does not seem to be a way to update/re-run them.


Proposed solution:

It would be great if there was a type of user script that you could update and re-run.

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/20150628/d7ae550b/attachment.html>

More information about the webkit-unassigned mailing list