[Webkit-unassigned] [Bug 24851] Failures in http/tests/xhlhttprequest/web-apps
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 26 23:30:29 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=24851
ap at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28992|review? |review-
Flag| |
------- Comment #4 from ap at webkit.org 2009-03-26 23:30 PDT -------
(From update of attachment 28992)
The problem here is that XMLHttpRequest.statusText includes the status code
(e.g. it's "400 Good work" instead of "Good Work"). Looking at
ResourceResponse::platformLazyInit(), it has an obvious bug, removing only
"HTTP/1.1" from a response such as "HTTP/1.1 400 Good Work":
RetainPtr<CFStringRef> statusLine(AdoptCF,
CFHTTPMessageCopyResponseStatusLine(httpResponse));
String statusText(statusLine.get());
int spacePos = statusText.find(" ");
if (spacePos != -1)
statusText = statusText.substring(spacePos + 1);
m_httpStatusText = statusText;
Looks like this is easier to fix than to land failing results.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list