Pass | assert_throws_dom("INVALID_STATE_ERR", function "function() { document.write("Failure: document.write actually worked"); }", "document.write in XHTML should throw an INVALID_STATE_ERR ")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/document-write/document.write-01.xhtml:13:3) |