!DOCTYPE html> Capability Delegation sender checks
Verifies that capability delegation related error checks in HTML postMessage algorithm are enforced correctly.

Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassDelegating an unsupported capability throws an exception
Asserts run
Pass
assert_equals("NotSupportedError", "NotSupportedError")
    at Test.<anonymous> ( /html/capability-delegation/delegation-sender-checks.tentative.html:39:11)
PassDelegating to targetOrigin='*' throws an exception
Asserts run
Pass
assert_equals("NotAllowedError", "NotAllowedError")
    at Test.<anonymous> ( /html/capability-delegation/delegation-sender-checks.tentative.html:48:11)
PassDelegating without user activation throws an exception
Asserts run
Pass
assert_equals("NotAllowedError", "NotAllowedError")
    at Test.<anonymous> ( /html/capability-delegation/delegation-sender-checks.tentative.html:57:11)