Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
6.1, 6.2.5, 6.3.1, 6.4.0 Beta1
-
5.4.1, 5.5.0 RC
-
None
-
Ubuntu x64
-
a4e32eac5c (qt/qtwebengine/dev) 7d82e53efe (qt/qtwebengine/6.2) 6ce62c241f (qt/qtwebengine/6.3) 7d82e53efe (qt/qtwebengine/6.2) 7d82e53efe (qt/qtwebengine/6.2) 7d82e53efe (qt/tqtc-qtwebengine/6.2) 6ce62c241f (qt/qtwebengine/6.3.1)
Description
When setting the url (as below) to somthing that should result in a 404 error the loadrequest passed to the callback does not contain any information about the error.
When setting the url to something that results in a DNS lookup error, we do get a errorDomain and errorCode that is correct. (Probably, we did not dig into that other than seeing the domain and error being not 0)
import QtQuick 2.4 import QtWebEngine 1.0 WebEngineView { id: browser width: 100 height: 100 url: "http://google.com/apanbepan" Component.onCompleted: { console.log("Webengine view loaded, dimensions : " + browser.width + "x" + browser.height ) } onLoadingChanged: { console.log("Error Code: " + loadRequest.errorCode + " Domain: " + loadRequest.errorDomain) } }
Attachments
Issue Links
- relates to
-
QTBUG-53333 Unable to analyze network error inside QWebEnginePage::loadFinished()
- Closed
- mentioned in
-
Page Loading...