Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated.html

Issue 538323003: Have window.closed return true when frame is closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Un-inline and improve formatting of Frame::setHasBeenClosed() Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated.html
diff --git a/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated.html b/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated.html
index 72d85a54bd07dd151ac7b2a39c33c49e03ff5192..83ee607d44ad526adf9e64739d1572ba26ab08da 100644
--- a/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated.html
+++ b/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated.html
@@ -27,7 +27,8 @@ function runTest()
if (frame.src != 'about:blank') {
description("Tests access of cached DOMWindow properties after the associated frame is navigated. Test should not crash and properties should be set to sane defaults.");
childWindow = frame.contentWindow;
- collectProperties();
+ // Have expected results assume that the frame hasn't been closed (=> window.closed = false.)
+ collectProperties(false);
frame.src = 'about:blank';
return;
}
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698