mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +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
|
@ -161,9 +161,9 @@ Test is finished.
|
|||
promise_test(test_function, name, properties)
|
||||
```
|
||||
|
||||
`test_function` is a function that receives a test as an argument and returns a
|
||||
promise. The test completes when the returned promise resolves. The test fails
|
||||
if the returned promise rejects.
|
||||
`test_function` is a function that receives a test as an argument. It must
|
||||
return a promise. The test completes when the returned promise resolves. The
|
||||
test fails if the returned promise rejects.
|
||||
|
||||
E.g.:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue