Fixed issue with showing "Error code 200" error page

remotes/origin/falkon
nowrep 14 years ago
parent e6da887f1a
commit bcce0326fc
  1. 5
      src/lib/webview/webpage.cpp

@ -640,6 +640,11 @@ bool WebPage::extension(Extension extension, const ExtensionOption* option, Exte
}
}
else if (exOption->domain == QWebPage::Http) {
// 200 status code = OK
// It shouldn't be reported as an error, but sometimes it is ...
if (exOption->error == 200) {
return false;
}
errorString = tr("Error code %1").arg(exOption->error);
}
else if (exOption->domain == QWebPage::WebKit) {

Loading…
Cancel
Save