Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
Passediting APIs on an XML document should be disabled
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "() => xmldoc.execCommand("bold")")
    at Test.<anonymous> ( /editing/other/non-html-document.html:20:5)
Pass
assert_throws_dom("InvalidStateError", function "() => xmldoc.queryCommandEnabled("bold")")
    at Test.<anonymous> ( /editing/other/non-html-document.html:20:5)
Pass
assert_throws_dom("InvalidStateError", function "() => xmldoc.queryCommandIndeterm("bold")")
    at Test.<anonymous> ( /editing/other/non-html-document.html:20:5)
Pass
assert_throws_dom("InvalidStateError", function "() => xmldoc.queryCommandState("bold")")
    at Test.<anonymous> ( /editing/other/non-html-document.html:20:5)
Pass
assert_throws_dom("InvalidStateError", function "() => xmldoc.queryCommandSupported("bold")")
    at Test.<anonymous> ( /editing/other/non-html-document.html:20:5)
Pass
assert_throws_dom("InvalidStateError", function "() => xmldoc.queryCommandValue("bold")")
    at Test.<anonymous> ( /editing/other/non-html-document.html:20:5)