summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dom/DOMParser-marquee-crash.html
blob: 992515d482cd933dfffbe6d5b2ba89529c071ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!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>