summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/parser/xml-declaration-missing-ending-mark.html
blob: 46d4a8dc3f521372fbec73d54e67241d1b65127a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>CRASH: Omitting terminal question mark in &lt;?xml...?&gt; declaration (above) causes access violation.</p>
<p>This tests the both the HTML parser (.html extension), which is where the crash was observed, and the XML
parser (in an iframe).<br />
See https://bugs.webkit.org/show_bug.cgi?id=17814</p>
<script>
if (window.testRunner) {
  testRunner.dumpAsText();
  testRunner.dumpChildFramesAsText();
}
</script>

<p>If you don't crash, you pass. A parsing error in the "xml-parser" subframe is expected.</p>

<iframe name="xml-parser" src="resources/xml-declaration-missing-ending-mark.xml"></iframe>
</body>
</html>