title: Infinite loading with script tag inside iframe
body: <p>Here is code, stuck with that simple issue which I never have had in past 7 years:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
      &lt;iframe&gt;&lt;/iframe&gt;
      &lt;script&gt;
          window.frames[0].document.write('&lt;scr' + 'ipt type="text/javascript" src="//code.jquery.com/jquery-3.0.0.min.js"&gt;&lt;\/scr' + 'ipt&gt;');
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The problem is that browser's spin wheel continue to circle.</p>
  
  <p>Network console shows all loaded.</p>
  
  <p>If I remove iframe from DOM, or add/change @src attribute - loading stops.</p>