GitHub

File tree

  • src/modules/backends/web/qtwebkit

Original file line numberDiff line numberDiff line change

@@ -399,7 +399,7 @@ bool QtWebKitWebPage::extension(QWebPage::Extension extension, const QWebPage::E

399399

const QWebPage::ErrorPageExtensionOption *errorOption = static_cast<const QWebPage::ErrorPageExtensionOption*>(option);

400400

QWebPage::ErrorPageExtensionReturn *errorOutput = static_cast<QWebPage::ErrorPageExtensionReturn*>(output);

401401
402-

if (!errorOption || !errorOutput)

402+

if (!errorOption || !errorOutput || (errorOption->error == 203 && errorOption->domain == QWebPage::WebKit))

403403

{

404404

return false;

405405

}

Read the original on github.com ↗