Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<title>innerHTML in XHTML: getting while the document is in an invalid state</title>
<link rel="author" title="Ms2ger" href=""/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
test(function() {
assert_throws_dom("INVALID_STATE_ERR", function() {
}, "getting element with \":\" in its local name");
test(function() {
document.title = "\f";
assert_throws_dom("INVALID_STATE_ERR", function() {
}, "Getting a Text node whose data contains characters that are not matched by the XML Char production");