gecko-dev/dom/html/crashtests/1412173.html
Brad Werth cee2b3c122 Bug 1412173 Part 2: Add a crashtest to check we can handle overlapping document open calls. r=bz
MozReview-Commit-ID: LjyQgFicwuO

--HG--
extra : rebase_source : 58bac0fc71ab5de67d300485bb56c9d8eec86054
2017-10-30 15:35:47 -07:00

19 lines
456 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>
let f = document.createElement('frame');
f.onload = function() {
let frameDocument = f.contentDocument;
frameDocument.body.onbeforeunload = function () { frameDocument.write('<p>beforeUnload</p>') };
frameDocument.write('<p>trigger unload</p>')
window.stop();
document.documentElement.className = '';
};
document.documentElement.appendChild(f);
</script>
</head>
<body>
</body>
</html>