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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced.html

Issue 2706923002: Rework security checks to be based on Window rather than Frame. (Closed)
Patch Set: Do not hardcode V8Window::wrapperTypeInfo Created 3 years, 7 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
Index: third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced.html b/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced.html
index 85f0b4f6cc0b0e3bd1d68f5991d1fe8919838bb9..a37430a99789613205b7d5cdb7773d7b18fe4c05 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced.html
@@ -13,9 +13,6 @@ function insertExpectedResult(path, expected)
if (path.length < 2)
return;
var propertyDir = path.slice(0, -1).join('.');
- // Cached Location properties become undefined.
- if (propertyDir == "location")
- expected = "undefined";
var cachedPropertyDir = "cached_" + propertyDir.replace('.', '_');
window[cachedPropertyDir] = eval("childWindow." + propertyDir);
propertiesToVerify.push({

Powered by Google App Engine
This is Rietveld 408576698