Bug 1412173 Part 2: Add a crashtest to check we can handle overlapping document open calls. r=bz
☠☠ backed out by 7a87cbe5d9ad ☠ ☠
authorBrad Werth <bwerth@mozilla.com>
Mon, 30 Oct 2017 15:35:47 -0700
changeset 443708 68de62dd7a9b9541cbb6cee96fff040f0d824b0e
parent 443707 97de1e0cd69380edd6135f375461571fbb37a763
child 443709 e7a73f6647deb4fd638fe3c00cb5b5827b3d8629
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