<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@apple.com" title="Chris Dumez <cdumez@apple.com>"> <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">> I tried this but it doesn't hit the case:
>
> <iframe srcdoc="text" onload="test()"></iframe>
> <script>
> function test() {
> const iframe = document.querySelector("iframe");
> const contentDocument = iframe.contentDocument;
> document.body.removeChild(iframe);
> const img = contentDocument.createElement("img");
> img.setAttribute("src", "foo.png");
> }
> </script>
>
> Note that this doesn't necessarily have anything to do with srcdoc, local
> 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>