blob: 1cc653aff96060b2d25ef692f39c402675ecc852 [file] [log] [blame]
<?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 id="xml-parser" name="xml-parser" src="resources/xml-declaration-missing-ending-mark.xml"></iframe>
</body>
</html>