Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
PassDocument.execCommand("insertHTML") throws.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "_ => document.execCommand(command, false, "<em>Hello World</em>")")
    at Test.<anonymous> ( /trusted-types/block-Document-execCommand.html:24:9)
PassDocument.execCommand("insertHTML") works with a TrustedHTML argument.
Asserts runNo asserts ran
PassDocument.execCommand("paste") works as usual."
Asserts runNo asserts ran
PassDocument.execCommand("paste") works with a TrustedHTML argument.
Asserts runNo asserts ran
PassDocument.execCommand("insertHTML") works as usual with a default policy.
Asserts run
Pass
assert_equals("Document execCommand", "Document execCommand")
    at createHTML ( /trusted-types/block-Document-execCommand.html:39:5)
PassDocument.execCommand("paste") works as usual with a default policy.
Asserts runNo asserts ran