Bug 1412173 Part 2: Add a crashtest to check we can handle overlapping document open calls. r=bz
authorBrad Werth <bwerth@mozilla.com>
Mon, 30 Oct 2017 15:35:47 -0700
changeset 444067 315b2e8320b276ec5aef7fd413b50b413e2ce4fa
parent 444066 3bc3d8b72947475088c68e358a70053b859e267c
child 444068 6e6b4edc850c6e69d800043792f9b0bd23a1ad82
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1412173
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1412173 Part 2: Add a crashtest to check we can handle overlapping document open calls. r=bz MozReview-Commit-ID: LjyQgFicwuO
dom/html/crashtests/1412173.html
dom/html/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/html/crashtests/1412173.html
@@ -0,0 +1,18 @@
+<!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>
--- a/dom/html/crashtests/crashtests.list
+++ b/dom/html/crashtests/crashtests.list
@@ -79,9 +79,10 @@ load 1237633.html
 load 1281972-1.html
 load 1282894.html
 load 1290904.html
 load 1343886-1.html
 load 1343886-2.xml
 load 1343886-3.xml
 load 1350972.html
 load 1386905.html
-asserts(0-4) load 1401726.html
\ No newline at end of file
+asserts(0-4) load 1401726.html
+load 1412173.html