mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision 697b971060b2d475a73c1c3755232a4674d61cf5
This commit is contained in:
parent
f60598909a
commit
b97474fbba
236 changed files with 4817 additions and 893 deletions
|
@ -160,7 +160,7 @@ previous Promise Test finishes.
|
|||
`promise_rejects` can be used to test Promises that need to reject:
|
||||
|
||||
```js
|
||||
promise_rejects(test_object, code, promise)
|
||||
promise_rejects(test_object, code, promise, description)
|
||||
```
|
||||
|
||||
The `code` argument is equivalent to the same argument to the `assert_throws`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue