mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-03 21:40:17 +00:00
18 lines
607 B
HTML
18 lines
607 B
HTML
<!DOCTYPE HTML>
|
|
<script>
|
|
var t = parent.opener.t;
|
|
var do_test = t.step_func(function () {
|
|
localStorage.test6564729 += '5';
|
|
var s = 'FAIL: document.open() has canceled the navigation (' + localStorage.test6564729 + ')';
|
|
parent.document.open();
|
|
parent.document.write(s);
|
|
parent.document.close();
|
|
localStorage.test6564729 += parent.document.body.textContent.match('FAIL') == s ? 'X' : '6';
|
|
localStorage.test6564729 += '7';
|
|
});
|
|
</script>
|
|
<body onbeforeunload="localStorage.test6564729 += '2'"
|
|
onpagehide="do_test()"
|
|
onunload="localStorage.test6564729 += '8'">
|
|
<p>Inner frame
|