WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
5924
Zero-length responses to XMLHTTPRequest mishandled
https://bugs.webkit.org/show_bug.cgi?id=5924
Summary
Zero-length responses to XMLHTTPRequest mishandled
Alexey Proskuryakov
Reported
2005-12-03 06:44:03 PST
If the response to XMLHTTPRequest is zero-length, not all onreadystatechange events do fire, and the response headers aren't properly retrieved. Steps to reproduce: access the bug URL. In MSIE, the request goes through all states. Firefox skips Interactive. WebKit skips Interactive and Loaded. Even in Completed state, WebKit doesn't provide the headers or the response status.
Attachments
proposed fix
(1.43 KB, patch)
2005-12-22 01:56 PST
,
Alexey Proskuryakov
eric
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2005-12-22 01:56:08 PST
Created
attachment 5217
[details]
proposed fix
Alexey Proskuryakov
Comment 2
2005-12-22 02:00:58 PST
Additional test case (sync loading):
http://nypop.com/~ap/webkit/getzerosync.html
Eric Seidel (no email)
Comment 3
2005-12-22 07:15:19 PST
Comment on
attachment 5217
[details]
proposed fix This looks totally fine. You're just changing slotFinished to match slotData's behavior in the case that slotData was never called. r=me
Alexey Proskuryakov
Comment 4
2005-12-28 10:12:14 PST
***
Bug 6271
has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 5
2006-10-15 04:31:11 PDT
***
Bug 11207
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug