<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:dcrousso+webkit&#64;gmail.com" title="Devin Rousso &lt;dcrousso+webkit&#64;gmail.com&gt;"> <span class="fn">Devin Rousso</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Can't edit JS resource"
   href="https://bugs.webkit.org/show_bug.cgi?id=161418">bug 161418</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>dcrousso+webkit&#64;gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Can't edit JS resource"
   href="https://bugs.webkit.org/show_bug.cgi?id=161418#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Can't edit JS resource"
   href="https://bugs.webkit.org/show_bug.cgi?id=161418">bug 161418</a>
              from <span class="vcard"><a class="email" href="mailto:dcrousso+webkit&#64;gmail.com" title="Devin Rousso &lt;dcrousso+webkit&#64;gmail.com&gt;"> <span class="fn">Devin Rousso</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=161418#c2">comment #2</a>)
<span class="quote">&gt; Users should only be able to edit local (file:///) JavaScript resources. I
&gt; don't think we've ever been able to edit arbitrary JavaScript resources.</span >

That's how I thought it worked ¯\_(ツ)_/¯ (ScriptContentView allows editing with &quot;file&quot; scheme URLs and TextResourceContentView allows editing with CSS files or &quot;file&quot; scheme URLS);

I know that TextEditor defines its CodeMirror instance with &quot;readOnly: true&quot;, and SourceCodeTextEditor doesn't seem to change that.</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>