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.
This commit is contained in:
parent
dd9145d650
commit
451ea05393
@ -74,6 +74,8 @@ Fixed
|
|||||||
`remove-finished-downloads` setting.
|
`remove-finished-downloads` setting.
|
||||||
- Fixed crash when hitting `<Tab>` then `<Ctrl-C>` on pages without keyboard
|
- Fixed crash when hitting `<Tab>` then `<Ctrl-C>` on pages without keyboard
|
||||||
focus.
|
focus.
|
||||||
|
- Fixed "Frame load interrupted by policy change" error showing up when
|
||||||
|
downloading files with Qt 5.6.
|
||||||
|
|
||||||
Removed
|
Removed
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
@ -122,7 +122,10 @@ class BrowserPage(QWebPage):
|
|||||||
"""
|
"""
|
||||||
ignored_errors = [
|
ignored_errors = [
|
||||||
(QWebPage.QtNetwork, QNetworkReply.OperationCanceledError),
|
(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
|
errpage.baseUrl = info.url
|
||||||
urlstr = info.url.toDisplayString()
|
urlstr = info.url.toDisplayString()
|
||||||
|
Loading…
Reference in New Issue
Block a user