blob: ad8bfc8fd2083f753c8b9c506b2e65153e0af223 [file] [edit]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
onload = function () {
setTimeout(function () {
document.getElementById("result").textContent = "PASS if no crash";
if (window.testRunner)
testRunner.notifyDone();
}, 0);
};
</script>
<p>Tests that the XML parser handles a microtask run from XMLDocumentParser::startElementNs()
detaching the frame and stopping the parser.</p>
<p id="result">FAIL</p>
<iframe id="frame" src="resources/xml-parser-stopped-during-start-element-microtask-frame.xhtml"></iframe>