blob: 992515d482cd933dfffbe6d5b2ba89529c071ce2 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script>
function runTests() {
if (window.testRunner) testRunner.dumpAsText();
var parser = new DOMParser();
parser.parseFromString("<marquee></marquee>", "text/html");
}
</script>
</head>
<body onload="runTests();">
This creates a DOMParser object and tries to parse a document containing a marquee element (implemented in Private JS).
If the test is successful, it should not crash.
<pre id="console">
</pre>
</body>
</html>