Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -25,20 +25,18 @@
client.timeout = 100;
setTimeout(test.step_func(function() {
test.step_timeout(() => {
assert_true(timeoutFired);
// abort should not cause the "abort" event to fire
client.abort();
setTimeout(function(){ // use a timeout to catch any implementation that might queue an abort event for later - just in case
test.step(function(){test.done();});
test.step_timeout(() => { // use a timeout to catch any implementation that might queue an abort event for later - just in case
test.done()
}, 200);
assert_equals(client.readyState, 0);
test.done();
}), 300);
}, 300);
client.ontimeout = function () {
timeoutFired = true;