Index: LayoutTests/fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html |
diff --git a/LayoutTests/fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html b/LayoutTests/fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html |
index c83f9c82804dc287b0b3d479e2c07fecd8596e52..533c95a7d9feeafc177112a2b0aabd66243f6db5 100644 |
--- a/LayoutTests/fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html |
+++ b/LayoutTests/fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html |
@@ -1,15 +1,13 @@ |
<script> |
+onload = function() { |
arv (Not doing code reviews)
2014/01/13 14:26:44
window.onload = function() {
for clarity
Jens Widell
2014/01/13 14:57:05
Prefix added here and below.
|
+ top.opener.windowLoaded(); |
+} |
+ |
onunload = function() { |
arv (Not doing code reviews)
2014/01/13 14:26:44
do you mind changing this too?
|
// No page cache |
} |
onpopstate = function(e) { |
- if (!sessionStorage.beganTest) { |
- sessionStorage.beganTest = true; |
- top.opener.windowLoaded(); |
- return; |
- } |
- |
alert("onpopstate"); |
top.opener.notifyDone(window == parent ? "FAIL" : "PASS"); |
} |