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://www1.wpt.live/resources/test/tests/functional/promise-async.html:92:9) at Test.step (https://www1.wpt.live/resources/testharness.js:2638:25) at https://www1.wpt.live/resources/testharness.js:2685:35 |
Fail | Use of unreached_func with Promises (should fail) | assert_unreached: This failure is expected Reached unreachable codeError at get_stack (https://www1.wpt.live/resources/testharness.js:4567:21) at new AssertionError (https://www1.wpt.live/resources/testharness.js:4560:22) at assert (https://www1.wpt.live/resources/testharness.js:4544:19) at assert_unreached (https://www1.wpt.live/resources/testharness.js:2392:10) at Test.<anonymous> (https://www1.wpt.live/resources/testharness.js:2731:13) at Test.step (https://www1.wpt.live/resources/testharness.js:2638:25) at https://www1.wpt.live/resources/testharness.js:2685:35 |