mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Update web-platform-tests to revision 44702f2bc8ea98bc32b5b244f2fe63c6ce66d49d
This commit is contained in:
parent
85fa6409bb
commit
c227604a2c
997 changed files with 45660 additions and 14650 deletions
|
@ -11,7 +11,7 @@
|
|||
/*
|
||||
It's unclear what the pass condition should be for this test.
|
||||
Implementations:
|
||||
Firefox, Opera (Presto): terminate request with no further events when IFRAME is removed.
|
||||
Firefox, Opera (Presto): terminate request with no further events when IFRAME is removed.
|
||||
Chrome: completes request to readyState=4 but responseText is "" so it's pretty much terminated with an extra event for "DONE" state
|
||||
Pass condition is now according to my suggested spec text in https://github.com/whatwg/xhr/pull/3 , if that's not accepted we'll have to amend this test
|
||||
*/
|
||||
|
@ -20,7 +20,7 @@
|
|||
test.step(function() {
|
||||
var hasErrorEvent = false
|
||||
var client = new self[0].XMLHttpRequest()
|
||||
client.onreadystatechange = function() {
|
||||
client.onreadystatechange = function() {
|
||||
test.step(function() {
|
||||
if(client.readyState == 4) {
|
||||
assert_equals(client.responseText, "", "responseText is empty on inactive document error condition")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue