mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Update web-platform-tests to revision cbbb68edacd8d7dfb23b74f50537b72e06870511
This commit is contained in:
parent
ee3fb92e53
commit
e33f4d3e48
190 changed files with 2596 additions and 668 deletions
|
@ -180,8 +180,12 @@ In the example above, `foo()` returns a Promise that resolves with the string
|
|||
"foo". The `test_function` passed into `promise_test` invokes `foo` and attaches
|
||||
a resolve reaction that verifies the returned value.
|
||||
|
||||
Note that in the promise chain constructed in `test_function` assertions don't
|
||||
need to be wrapped in `step` or `step_func` calls.
|
||||
Note that in the promise chain constructed in `test_function`
|
||||
assertions don't need to be wrapped in `step` or `step_func`
|
||||
calls. However when mixing event handlers and `promise_test`, the
|
||||
event handler callback functions *do* need to be wrapped since an
|
||||
exception in these functions does not cause the promise chain to
|
||||
reject.
|
||||
|
||||
Unlike Asynchronous Tests, Promise Tests don't start running until after the
|
||||
previous Promise Test finishes. [Under rare
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue