<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebContent crash under WebCore::CachedResource::load in WebCore::FrameLoader::outgoingReferrer const"
   href="https://bugs.webkit.org/show_bug.cgi?id=165852#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebContent crash under WebCore::CachedResource::load in WebCore::FrameLoader::outgoingReferrer const"
   href="https://bugs.webkit.org/show_bug.cgi?id=165852">bug 165852</a>
              from <span class="vcard"><a class="email" href="mailto:cdumez&#64;apple.com" title="Chris Dumez &lt;cdumez&#64;apple.com&gt;"> <span class="fn">Chris Dumez</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=165852#c7">comment #7</a>)
<span class="quote">&gt; I tried this but it doesn't hit the case:
&gt; 
&gt; &lt;iframe srcdoc=&quot;text&quot; onload=&quot;test()&quot;&gt;&lt;/iframe&gt;
&gt; &lt;script&gt;
&gt; function test() {
&gt;     const iframe = document.querySelector(&quot;iframe&quot;);
&gt;     const contentDocument = iframe.contentDocument;
&gt;     document.body.removeChild(iframe);
&gt;     const img = contentDocument.createElement(&quot;img&quot;);
&gt;     img.setAttribute(&quot;src&quot;, &quot;foo.png&quot;);
&gt; }
&gt; &lt;/script&gt;
&gt; 
&gt; Note that this doesn't necessarily have anything to do with srcdoc, local
&gt; m_frame could be null.</span >

FrameLoader::m_frame is a reference so if it is null, we have bigger issues.</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>