Test advertised required document policy

Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassTop-level document's policy should not affect child frame requests
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /document-policy/required-policy/document-policy.html:28:5)
FailChild frame can have a required policy independent of the parent document.assert_equals: expected (string) "force-load-at-top" but got (object) null
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/document-policy/required-policy/document-policy.html:38:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at Object.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2717:32)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/document-policy/required-policy/document-policy.html:20:18
Asserts run
Fail
assert_equals(null, "force-load-at-top")
    at Test.<anonymous> ( /document-policy/required-policy/document-policy.html:38:5)
FailChild frame can have a required policy which is less strict than the parent document's policy.assert_equals: expected (string) "sync-xhr" but got (object) null
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/document-policy/required-policy/document-policy.html:48:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at Object.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2717:32)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/document-policy/required-policy/document-policy.html:20:18
Asserts run
Fail
assert_equals(null, "sync-xhr")
    at Test.<anonymous> ( /document-policy/required-policy/document-policy.html:48:5)