Pass | Promises are supported in your browser | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /resources/test/tests/functional/promise-async.html:16:3) | Pass | assert_equals("function", "function")
at Test.<anonymous> ( /resources/test/tests/functional/promise-async.html:17:3) | Pass | assert_equals("function", "function")
at Test.<anonymous> ( /resources/test/tests/functional/promise-async.html:18:3) |
|
Pass | Promise resolution | Asserts runPass | assert_equals("x", "x")
at Test.<anonymous> ( /resources/test/tests/functional/promise-async.html:26:9) |
|
Pass | Promise rejection | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /resources/test/tests/functional/promise-async.html:40:9) | Pass | assert_equals("fail", "fail")
at Test.<anonymous> ( /resources/test/tests/functional/promise-async.html:41:9) |
|
Pass | Promises resolution chaining | Asserts runPass | assert_array_equals(["a", "b", "c"], ["a", "b", "c"])
at Test.<anonymous> ( /resources/test/tests/functional/promise-async.html:66:9) |
|
Pass | Use of step_func with Promises | Asserts runNo asserts ran |
Fail | Promises and test assertion failures (should fail) | assert_true: This failure is expected expected true got false at Test.<anonymous> (https://wpt.live/resources/test/tests/functional/promise-async.html:92:9)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at https://wpt.live/resources/testharness.js:2689:35 Asserts runFail | assert_true(false, "This failure is expected")
at Test.<anonymous> ( /resources/test/tests/functional/promise-async.html:92:9) |
|
Fail | Use of unreached_func with Promises (should fail) | assert_unreached: This failure is expected Reached unreachable codeError
at get_stack (https://wpt.live/resources/testharness.js:4571:21)
at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
at assert (https://wpt.live/resources/testharness.js:4548:19)
at assert_unreached (https://wpt.live/resources/testharness.js:2396:10)
at Test.<anonymous> (https://wpt.live/resources/testharness.js:2735:13)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at https://wpt.live/resources/testharness.js:2689:35 Asserts runNo asserts ran |