Files
tubestation/docshell/test/file_close_onpagehide2.html
Hiroyuki Ikezoe dbfb1fcc06 Bug 1432396 - Bail out if the docshell is being destroyed due to pagehide notification. r=bz
There are four call sites of FirePageHideNotification().  Two of them are
handled in this patch.  The other two will be taken care of in the subsequent
patches in this patch series respectively.

Without this fix, the test case in this patch causes assertions when
cycle collection happens.

MozReview-Commit-ID: 6GSxjdfXGcY
2018-02-16 06:15:03 +09:00

6 lines
89 B
HTML

<script>
window.onload = () => {
opener.postMessage("second", "*");
}
</script>;