20 lines
707 B
HTML
20 lines
707 B
HTML
<?xml version="1.0">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<body>
|
|
<p>CRASH: Omitting terminal question mark in <?xml...?> 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>
|