GNOME Bugzilla – Bug 758469
Overview cannot open local files
Last modified: 2016-02-07 22:34:52 UTC
The overview can't load local files. We need to either tell the UI process over D-Bus to create a "sandbox" extension for local pages, or else make sure local pages never end up in the overview. It's reported at <https://forums.pcbsd.org/thread-20257.html>, see Example D: Received an unexpected URL from the web process: 'file:///usr/home/gjp4/Documents/nosh-guide-1.19/nosh//index.html' Received an unexpected URL from the web process: 'file:///usr/home/gjp4/Documents/nosh-guide-1.19/nosh//index.html' ASSERTION FAILED: m_process->checkURLReceivedFromWebProcess(request.url()) /wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.8.5/Source/WebKit2/UIProcess/WebPageProxy.cpp(3080) : void WebKit::WebPageProxy::decidePolicyForNavigationAction(uint64_t, uint64_t, const WebKit::NavigationActionData &, uint64_t, const WebCore::ResourceRequest &, const WebCore::ResourceRequest &, uint64_t, const WebKit::UserData &, bool &, uint64_t &, uint64_t &, uint64_t &)
Created attachment 319713 [details] [review] overview: Do not show local files on the overview
*** Bug 736245 has been marked as a duplicate of this bug. ***
Review of attachment 319713 [details] [review]: ::: lib/history/ephy-history-service-urls-table.c @@ +268,3 @@ + if (query->ignore_local) + statement_str = g_string_append (statement_str, "urls.url NOT LIKE 'file%' AND "); Or alternatively: "urls.url LIKE 'http%' AND" ? I don't see any advantages to either way.
Created attachment 320588 [details] [review] overview: Do not show local files on the overview
Thanks for the review. There was in fact one advantage in doing it with the suggested alternative, which was filtering out also any 'about:*' element from the overview.