1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
7 var c
= document
.getElementById('console')
8 c
.appendChild(document
.createTextNode(str
+ '\n'));
12 if (window
.testRunner
) testRunner
.dumpAsText();
14 var parser
= new DOMParser();
20 <body onload=
"runTests();">
21 This creates a DOMParser object and tries to assign it to a variable. If the test is successful, it should not crash.