[webkit-gtk] WebKit2Gtk - Assertion on drag-and-drop in Epiphany and Midori

Daniel Wyatt daniel.wyatt at gmail.com
Tue Jan 21 17:12:41 PST 2014


Epiphany and Midori both crash WebKitWebProcess when dragging and dropping
a .html (or other) file into the web view.
Compiling in debug mode triggers an assertion:
Received an unexpected URL from the web process:
'file:///home/daniel/tmp.html'
Received an unexpected URL from the web process:
'file:///home/daniel/tmp.html'
ASSERTION FAILED: m_process->checkURLReceivedFromWebProcess(request.url())
Source/WebKit2/UIProcess/WebPageProxy.cpp(2431) : void
WebKit::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&)

With release builds of WebKit2Gtk we get:
Received an unexpected URL from the web process:
'file:///home/daniel/tmp.html'
Received an invalid message "WebPageProxy.DecidePolicyForNavigationAction"
from the web process.
And then the web process seems to be killed.

This only happens if we have not previously opened a .html file through the
menu.
Does anyone have a clue on where to look in order to fix this? Are we doing
something wrong on our end?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20140121/4f6c98ce/attachment.html>


More information about the webkit-gtk mailing list