Update web-platform-tests to revision a46616a5b18e83587ddbbed756c7b96cbb4b015d

This commit is contained in:
Josh Matthews 2017-06-19 19:07:14 -04:00 committed by Ms2ger
parent 3f07cfec7c
commit 578498ba24
4001 changed files with 159517 additions and 30260 deletions

View file

@ -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");