<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Epiphany and Midori both crash WebKitWebProcess when dragging and dropping a .html (or other) file into the web view.</span><div style="font-family:arial,sans-serif;font-size:13px">

Compiling in debug mode triggers an assertion:</div><div style="font-family:arial,sans-serif;font-size:13px"><div>Received an unexpected URL from the web process: &#39;file:///home/daniel/tmp.html&#39;</div><div>Received an unexpected URL from the web process: &#39;file:///home/daniel/tmp.html&#39;</div>

<div>ASSERTION FAILED: m_process-&gt;checkURLReceivedFromWebProcess(request.url())</div><div>Source/WebKit2/UIProcess/WebPageProxy.cpp(2431) : void <span class="" style="background-color:rgb(255,255,204)">WebKit</span>::WebPageProxy::decidePolicyForNavigationAction(uint64_t, uint32_t, uint32_t, int32_t, uint64_t, const WebCore::ResourceRequest&amp;, const WebCore::ResourceRequest&amp;, uint64_t, IPC::MessageDecoder&amp;, bool&amp;, uint64_t&amp;, uint64_t&amp;)</div>

</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">With release builds of WebKit2Gtk we get:</div><div style="font-family:arial,sans-serif;font-size:13px">

<div>Received an unexpected URL from the web process: &#39;file:///home/daniel/tmp.html&#39;</div><div>Received an invalid message &quot;WebPageProxy.DecidePolicyForNavigationAction&quot; from the web process.</div></div>

<div style="font-family:arial,sans-serif;font-size:13px">And then the web process seems to be killed.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

This only happens if we have not previously opened a .html file through the menu.</div><div style="font-family:arial,sans-serif;font-size:13px">Does anyone have a clue on where to look in order to fix this? Are we doing something wrong on our end?</div>

</div>