XHR - Trigger readystatechange when transitioning from HEADERS_RECEIVED to DONE

Fixes #3877
This commit is contained in:
Mukilan Thiyagarajan 2014-11-06 23:57:48 +05:30
parent 44fa9f9b18
commit dc02352564
9 changed files with 33 additions and 102 deletions

View file

@ -1,6 +1,5 @@
[anonymous-mode-unsupported.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: anonymous mode unsupported]
expected: TIMEOUT
expected: FAIL

View file

@ -1,6 +0,0 @@
[open-after-setrequestheader.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: open() after setRequestHeader()]
expected: TIMEOUT

View file

@ -1,3 +1,8 @@
[response-json.htm]
type: testharness
expected: TIMEOUT
[JSON object roundtrip]
expected: FAIL
[JSON roundtrip with Japanese text]
expected: FAIL

View file

@ -1,9 +1,8 @@
[send-entity-body-get-head-async.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (GET)]
expected: NOTRUN
expected: FAIL
[XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (HEAD)]
expected: NOTRUN
expected: FAIL

View file

@ -1,6 +0,0 @@
[send-no-response-event-loadend.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: The send() method: Fire a progress event named loadend (no response entity body)]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[send-no-response-event-order.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: The send() method: event order when there is no response entity body]
expected: TIMEOUT

View file

@ -1,3 +1,8 @@
[status-async.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: status/statusText - various responses 7 (GET 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 9 (CHICKEN 402)]
expected: FAIL

View file

@ -1,60 +0,0 @@
[status-error.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 200]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 400]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 401]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 404]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 410]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 500]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 699]
expected: TIMEOUT
[XMLHttpRequest: status error handling HEAD 200]
expected: TIMEOUT
[XMLHttpRequest: status error handling HEAD 404]
expected: TIMEOUT
[XMLHttpRequest: status error handling HEAD 500]
expected: TIMEOUT
[XMLHttpRequest: status error handling HEAD 699]
expected: TIMEOUT
[XMLHttpRequest: status error handling POST 200]
expected: TIMEOUT
[XMLHttpRequest: status error handling POST 404]
expected: TIMEOUT
[XMLHttpRequest: status error handling POST 500]
expected: TIMEOUT
[XMLHttpRequest: status error handling POST 699]
expected: TIMEOUT
[XMLHttpRequest: status error handling PUT 200]
expected: TIMEOUT
[XMLHttpRequest: status error handling PUT 404]
expected: TIMEOUT
[XMLHttpRequest: status error handling PUT 500]
expected: TIMEOUT
[XMLHttpRequest: status error handling PUT 699]
expected: TIMEOUT