Qt Webkit: Javascript error causes page to not load
Unsolved
Qt WebKit
-
Using QWebView to display a credential page with username and password displays. Since this is a 2FA authentication, after providing username and password, the 2nd-factor webpage is not loaded. There is a blank screen present.
The issue seems to be caused by a Javascript error:
"TypeError: null is not an object (evaluating 'localStorage.length')"
I've know I can detect Javascript errors by overriding:
QWebPage::javaScriptConsoleMessage
However, all I want to do is ignore this Javascript error and continue to the destination page?