mirror of
https://github.com/servo/servo.git
synced 2025-08-19 12:25:33 +01:00
Update web-platform-tests to revision a46616a5b18e83587ddbbed756c7b96cbb4b015d
This commit is contained in:
parent
3f07cfec7c
commit
578498ba24
4001 changed files with 159517 additions and 30260 deletions
|
@ -143,7 +143,7 @@ promise_test(function testPromiseRace() {
|
|||
"Next 3"]);
|
||||
assert_true(p instanceof LoggingPromise);
|
||||
return p.then(function(arg) {
|
||||
assert_true(arg == 1 || arg == 2);
|
||||
assert_in_array(arg, [1, 2]);
|
||||
});
|
||||
}, "Promise.race behavior");
|
||||
|
||||
|
@ -159,7 +159,7 @@ promise_test(function testPromiseRaceNoSpecies() {
|
|||
"Next 3"]);
|
||||
assert_true(p instanceof SpeciesLessPromise);
|
||||
return p.then(function(arg) {
|
||||
assert_true(arg == 1 || arg == 2);
|
||||
assert_in_array(arg, [1, 2]);
|
||||
});
|
||||
}, "Promise.race without species behavior");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue