Changeset 95710 in webkit
- Timestamp:
- Sep 22, 2011 5:43:32 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r95702 r95710 1 2011-09-22 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 2 3 [Qt] Redirection overflow errors have wrong error domain 4 https://bugs.webkit.org/show_bug.cgi?id=68612 5 6 Reviewed by Andreas Kling. 7 8 Redirection overflow currently puts the URL hostname in the errorDomain field. 9 Now redirection overflow errors will be classified as "HTTP" errors. 10 11 * platform/network/qt/QNetworkReplyHandler.cpp: 12 (WebCore::QNetworkReplyHandler::redirect): 13 1 14 2011-09-22 James Robinson <jamesr@chromium.org> 2 15 -
trunk/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
r95631 r95710 529 529 m_redirectionTries--; 530 530 if (!m_redirectionTries) { 531 ResourceError error( newUrl.host(), 400 /*bad request*/,531 ResourceError error("HTTP", 400 /*bad request*/, 532 532 newUrl.toString(), 533 533 QCoreApplication::translate("QWebPage", "Redirection limit reached")); -
trunk/Source/WebKit2/ChangeLog
r95708 r95710 1 2011-09-22 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 2 3 [Qt] Redirection overflow errors have wrong error domain 4 https://bugs.webkit.org/show_bug.cgi?id=68612 5 6 Reviewed by Andreas Kling. 7 8 Redirection overflow currently puts the URL hostname in the errorDomain field 9 and therefore are treated as a QWebError::EngineError. From now on they 10 will be treated as QWebError::HttpError, since their error domain was modified 11 to "HTTP" in QNetworkReplyHandler::redirect(). 12 13 * UIProcess/API/qt/qweberror.cpp: 14 (QWebError::type): 15 1 16 2011-09-22 Csaba Osztrogonác <ossy@webkit.org> 2 17 -
trunk/Source/WebKit2/UIProcess/API/qt/qweberror.cpp
r95631 r95710 68 68 if (errorDomain == "Download") 69 69 return QWebError::DownloadError; 70 // FIXME: Redirection overflow currently puts the URL hostname in the errorDomain field.71 // We should expose that error somehow. Source is QNetworkReplyHandler::redirect().72 70 return QWebError::EngineError; 73 71 }
Note: See TracChangeset
for help on using the changeset viewer.