Fetching Tests From a Child Context

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

Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
PassTest executing in parent context
Asserts runNo asserts ran
PassPromises are supported in your browser
PassPromise resolution
PassPromise rejection
PassPromises resolution chaining
PassUse of step_func with Promises
FailPromises and test assertion failures (should fail)assert_true: This failure is expected expected true got false
    at 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
FailUse of unreached_func with Promises (should fail)assert_unreached: This failure is expected Reached unreachable code
Error
    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