diff options
author | Joni Poikelin <joni.poikelin@theqtcompany.com> | 2015-12-08 07:26:51 +0200 |
---|---|---|
committer | Konstantin Tokarev <annulen@yandex.ru> | 2016-01-29 14:06:36 +0000 |
commit | bccaed38b0c7aacac12e3140ed571aa2a8fadd87 (patch) | |
tree | 7a3e35e689ea46531b36dc8ee471a479ae998a30 | |
parent | 76f23fc070e4ab8f0383f864585a0493a68d9b0d (diff) | |
download | qtwebkit-bccaed38b0c7aacac12e3140ed571aa2a8fadd87.tar.gz |
Handle WebKitErrorDomain error like other errors
Change-Id: Ie4dd08b18706e44947a00b4d61a185b5fc43f478
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r-- | Source/WebKit/qt/WidgetApi/qwebpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/qt/WidgetApi/qwebpage.cpp b/Source/WebKit/qt/WidgetApi/qwebpage.cpp index 02bddebda..863621391 100644 --- a/Source/WebKit/qt/WidgetApi/qwebpage.cpp +++ b/Source/WebKit/qt/WidgetApi/qwebpage.cpp @@ -410,7 +410,7 @@ bool QWebPagePrivate::errorPageExtension(QWebPageAdapter::ErrorPageOption *opt, option.domain = QWebPage::QtNetwork; else if (opt->domain == QLatin1String("HTTP")) option.domain = QWebPage::Http; - else if (opt->domain == QLatin1String("WebKit")) + else if (opt->domain == QLatin1String("WebKit") || opt->domain == QLatin1String("WebKitErrorDomain")) option.domain = QWebPage::WebKit; else return false; |