
FAIL document.write in XHTML assert_throws: document.write in XHTML should throw an INVALID_STATE_ERR  function "function () {
    document.write("Failure: document.write..." threw object "TypeError: document.write is not a function. (In 'documen..." that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11

