blob: a10e605007f1e062560b00955c6b6e36ac0fbed9 [file] [log] [blame]
<script>
if (testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
onload = () => {
var frame = document.createElement("frame");
document.body.appendChild(frame);
iframe.appendChild(frame);
requestAnimationFrame(() => {
dialog.showModal();
if (testRunner)
testRunner.notifyDone();
});
};
</script>
<p>This test PASS if it does not CRASH.</p>
<dialog id="dialog" style="display: contents"><iframe id="iframe"><frame/></iframe>TEXT_CHILD</dialog>