mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision 86579034357501943927f3dc4abf75d76c477383
This commit is contained in:
parent
9c1c58a498
commit
f708edc5ea
20 changed files with 160 additions and 81 deletions
|
@ -576,7 +576,12 @@ policies and contribution forms [3].
|
|||
var promise = test.step(func, test, test);
|
||||
|
||||
test.step(function() {
|
||||
assert_not_equals(promise, undefined);
|
||||
assert(!!promise, "promise_test", null,
|
||||
"test body must return a 'thenable' object (received ${value})",
|
||||
{value:promise});
|
||||
assert(typeof promise.then === "function", "promise_test", null,
|
||||
"test body must return a 'thenable' object (received an object with no `then` method)",
|
||||
null);
|
||||
});
|
||||
|
||||
// Test authors may use the `step` method within a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue