Update web-platform-tests to revision cbbb68edacd8d7dfb23b74f50537b72e06870511

This commit is contained in:
WPT Sync Bot 2020-01-22 08:22:34 +00:00
parent ee3fb92e53
commit e33f4d3e48
190 changed files with 2596 additions and 668 deletions

View file

@ -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