<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: when testing frontend, inserting external resource in DOM crashes WebKit"
href="https://bugs.webkit.org/show_bug.cgi?id=151398">bug 151398</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>
</td>
<td>achristensen@apple.com, beidson@apple.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: when testing frontend, inserting external resource in DOM crashes WebKit"
href="https://bugs.webkit.org/show_bug.cgi?id=151398#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: when testing frontend, inserting external resource in DOM crashes WebKit"
href="https://bugs.webkit.org/show_bug.cgi?id=151398">bug 151398</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>Higher up in the stack, it looks like the inspector is told about a resource request which is basically empty:
(lldb) f
frame #13: 0x0000000112e57812 WebCore`WebCore::ResourceLoadNotifier::dispatchWillSendRequest(this=0x0000000119aea0c0, loader=0x000000011983a000, identifier=3, request=0x00007fff5af4e400, redirectResponse=0x00007fff5af4e528) + 338 at ResourceLoadNotifier.cpp:139
136 if (!request.isNull() && oldRequestURL != request.url().string())
137 m_frame.loader().documentLoader()->didTellClientAboutLoad(request.url());
138
-> 139 InspectorInstrumentation::willSendRequest(&m_frame, identifier, loader, request, redirectResponse);
140
141 // Report WebTiming for all frames.
142 if (loader && !request.isNull() && request.url() == loader->url())
(lldb) p request.isNull()
(bool) $12 = true
So perhaps we shouldn't be telling the inspector about null requests.
Why would we even get here... I'll ping some loader folks.</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>