Changeset 117071 in webkit
- Timestamp:
- May 15, 2012 8:34:09 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r117070 r117071 1 2012-05-15 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 [Qt] http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html times out 4 https://bugs.webkit.org/show_bug.cgi?id=84016 5 6 Reviewed by Simon Hausmann. 7 8 * platform/qt/Skipped: 9 1 10 2012-05-15 Dinu Jacob <dinu.jacob@nokia.com> 2 11 -
trunk/LayoutTests/platform/qt/Skipped
r117063 r117071 652 652 # https://bugs.webkit.org/show_bug.cgi?id=72252 653 653 http/tests/misc/xslt-bad-import.html 654 655 # [Qt] http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html times out656 # https://bugs.webkit.org/show_bug.cgi?id=84016657 http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html658 654 659 655 # =========================================================================== # -
trunk/Source/WebCore/ChangeLog
r117069 r117071 1 2012-05-15 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 [Qt] http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html times out 4 https://bugs.webkit.org/show_bug.cgi?id=84016 5 6 Reviewed by Simon Hausmann. 7 8 Calling didFail abort the connection and doesn't activate the HEADERS_RECEIVED state. 9 Since the goal of HEAD is to test then the request should be marked as finished 10 also in cases of HTTP errors. 11 This matches other ports behavior. 12 13 * platform/network/qt/QNetworkReplyHandler.cpp: 14 (WebCore::shouldIgnoreHttpError): 15 1 16 2012-05-15 Allan Sandfeld Jensen <allan.jensen@nokia.com> 2 17 -
trunk/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
r109670 r117071 421 421 static bool shouldIgnoreHttpError(QNetworkReply* reply, bool receivedData) 422 422 { 423 // An HEAD XmlHTTPRequest shouldn't be marked as failure for HTTP errors. 424 if (reply->operation() == QNetworkAccessManager::HeadOperation) 425 return true; 426 423 427 int httpStatusCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); 424 428
Note: See TracChangeset
for help on using the changeset viewer.