Index: LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html |
diff --git a/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html b/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html |
index 1ac44230134cc7ca91493377d040f15ef00f179a..501df409b62366721a405e884615fae6867292a6 100644 |
--- a/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html |
+++ b/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html |
@@ -21,7 +21,8 @@ function runTest() |
if (frame.src != 'about:blank') { |
description("Tests property access on a cached DOMWindow after the associated frame is navigated. Test should not crash and properties read from the cached DOMWindow should be identical to properties through the 'current' DOMWindow."); |
oldChildWindow = frame.contentWindow; |
- collectProperties(); |
+ // Have expected results assume that the frame hasn't been closed (=> window.closed = false.) |
+ collectProperties(false); |
frame.src = 'about:blank'; |
return; |
} |