blob: a7449250a63dfcc90254367a919d77e6e93eec4f [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.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.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" src="resources/xml-declaration-missing-ending-mark.xml"></iframe>
</body>
</html>