[Webkit-unassigned] [Bug 125840] Have XHR.getResponseHeader() return null in initial ready states

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 9 00:13:30 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=125840





--- Comment #14 from youenn fablet <youennf at gmail.com>  2014-01-09 00:11:13 PST ---
FWIU, the relationship lies in the fact that the behavior of getResponseHeader(), getAllResponseHeaders(), status and statusText should be consistent when the request is not sent:
- In the past (http://www.w3.org/TR/2009/WD-XMLHttpRequest2-20090820/), an InvalidStateError was thrown when state was UNSENT or OPENED.
- Since http://www.w3.org/TR/2010/WD-XMLHttpRequest2-20100907, the behavior was changed to return null/O/empty string.

I do not think that there is any other "code interaction" between the two bugs.
Given that bug 45994 description is now focused on status/statusText, it seems to make sense to process those two in parallel.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list