<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: reveal source from webView.evaluateJavaScript"
   href="https://bugs.webkit.org/show_bug.cgi?id=146389#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: reveal source from webView.evaluateJavaScript"
   href="https://bugs.webkit.org/show_bug.cgi?id=146389">bug 146389</a>
              from <span class="vcard"><a class="email" href="mailto:koen&#64;motif.co" title="Koen Bok &lt;koen&#64;motif.co&gt;"> <span class="fn">Koen Bok</span></a>
</span></b>
        <pre>The main use case for us is that we insert new Javascript all the time with our editor in Framer Studio (<a href="http://framerjs.com">http://framerjs.com</a>).

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 &lt;script&gt; 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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>