<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: 'file:///home/daniel/tmp.html'</div><div>Received an unexpected URL from the web process: 'file:///home/daniel/tmp.html'</div>
<div>ASSERTION FAILED: m_process->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&, const WebCore::ResourceRequest&, uint64_t, IPC::MessageDecoder&, bool&, uint64_t&, uint64_t&)</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: 'file:///home/daniel/tmp.html'</div><div>Received an invalid message "WebPageProxy.DecidePolicyForNavigationAction" 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>