This test demonstrates the use of fetch_tests_from_window to pull tests from an iframe into the primary document.
The test suite will not complete until tests in the child context have finished executing
Harness status: OK
Found 8 tests
Result | Test Name | Message |
---|---|---|
Pass | Test executing in parent context | Asserts runNo asserts ran |
Pass | Promises are supported in your browser | |
Pass | Promise resolution | |
Pass | Promise rejection | |
Pass | Promises resolution chaining | |
Pass | Use of step_func with Promises | |
Fail | Promises and test assertion failures (should fail) | assert_true: This failure is expected expected true got falseat 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 |
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 |