Index: LayoutTests/fast/loader/stateobjects/resources/pushstate-in-iframe-child.html |
diff --git a/LayoutTests/fast/loader/stateobjects/resources/pushstate-in-iframe-child.html b/LayoutTests/fast/loader/stateobjects/resources/pushstate-in-iframe-child.html |
index b5c68129304632ab4740cf09e7f026f66280db29..517ed73b0289c61cd041c632fe54d7cff2b8812a 100644 |
--- a/LayoutTests/fast/loader/stateobjects/resources/pushstate-in-iframe-child.html |
+++ b/LayoutTests/fast/loader/stateobjects/resources/pushstate-in-iframe-child.html |
@@ -3,15 +3,7 @@ onunload = function() { |
// disable page cache |
} |
-var pageLoaded = false; |
- |
onpopstate = function() { |
- // The first time popstate fires, it's because the page has finished loading. |
- if (!pageLoaded) { |
- pageLoaded = true; |
- return; |
- } |
- |
var topWin = top; |
// Verify that we are still in an iframe |
if (topWin == window) { |