This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (28 sloc) 1.1 KB
<html xmlns="">
<title>innerHTML in XHTML: getting while the document is in an invalid state</title>
<link rel="author" title="Ms2ger" href=""/>
<link rel="help" href=""/>
<link rel="help" href=""/>
<link rel="help" href=""/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
test(function() {
assert_throws("INVALID_STATE_ERR", function() {
}, "getting element with \":\" in its local name");
test(function() {
document.title = "\f";
assert_throws("INVALID_STATE_ERR", function() {
}, "Getting a Text node whose data contains characters that are not matched by the XML Char production");