mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue