ld"),
         () => xmldoc.queryCommandState("bold"),
         () => xmldoc.queryCommandSupported("bold"),
         () => xmldoc.queryCommandValue("bold"),
       ]) {
    assert_throws_dom("InvalidStateError", f);
  }
}, "editing APIs on an XML document should be disabled");

</script>
