repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
loader
/
stateobjects
/
resources
/
replacestate-in-iframe-window-child.html
blob
1be76c064faba0e041f8ddfd257ad32e485ed56a
1
<script>
2
window
.
onunload
=
function
() {
3
// No page cache
4
}
5
6
window
.
onpageshow
=
function
(
e
) {
7
alert
(
"onpageshow"
);
8
if
(!
sessionStorage
.
beganTest
) {
9
sessionStorage
.
beganTest
=
true
;
10
top
.
opener
.
windowLoaded
();
11
}
else
{
12
top
.
opener
.
notifyDone
(
window
==
parent
?
"FAIL"
:
"PASS"
);
13
}
14
}
15
</script>