diff options
author | Florian Bruhin <git@the-compiler.org> | 2016-03-31 22:41:25 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2016-03-31 22:41:25 +0200 |
commit | 451ea05393742a14c64a827ac9d3a819af46fa46 (patch) | |
tree | 580f82d4888a7c59855783b36d4923ae091813e6 | |
parent | dd9145d650be6ecd6f66ff2636ef5d3322505444 (diff) | |
download | qutebrowser-451ea05393742a14c64a827ac9d3a819af46fa46.tar.gz qutebrowser-451ea05393742a14c64a827ac9d3a819af46fa46.zip |
Ignore "Frame load interrupted by policy change"
Searching for that error doesn't turn up many helpful results, but it
seems to be harmless and shown when downloading a file - it's also new
in Qt 5.6 it seems, so let's just ignore it.
-rw-r--r-- | CHANGELOG.asciidoc | 2 | ||||
-rw-r--r-- | qutebrowser/browser/webpage.py | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 80c74567a..385f42e97 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -74,6 +74,8 @@ Fixed `remove-finished-downloads` setting. - Fixed crash when hitting `<Tab>` then `<Ctrl-C>` on pages without keyboard focus. +- Fixed "Frame load interrupted by policy change" error showing up when + downloading files with Qt 5.6. Removed ~~~~~~~ diff --git a/qutebrowser/browser/webpage.py b/qutebrowser/browser/webpage.py index a8bce0e07..29c8dcf1d 100644 --- a/qutebrowser/browser/webpage.py +++ b/qutebrowser/browser/webpage.py @@ -122,7 +122,10 @@ class BrowserPage(QWebPage): """ ignored_errors = [ (QWebPage.QtNetwork, QNetworkReply.OperationCanceledError), - (QWebPage.WebKit, 203), # "Loading is handled by the media engine" + # "Loading is handled by the media engine" + (QWebPage.WebKit, 203), + # "Frame load interrupted by policy change" + (QWebPage.WebKit, 102), ] errpage.baseUrl = info.url urlstr = info.url.toDisplayString() |