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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed.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-window-after-frame-removed.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed.html b/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
index bd68d91aa1915e3473c5d1973ee4ca4d9ebbfd36..1570aab002d0aa52edb20b8c7b4803d112205236 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
@@ -10,7 +10,10 @@ var propertiesToVerify = [];
function insertExpectedResult(path, expected)
{
- propertiesToVerify.push({"path": path.slice(0), "property": path.join("."), "expected": expected});
+ var property = path.join(".");
+ if (property == "location.ancestorOrigins.length")
+ expected = '0';
+ propertiesToVerify.push({"path": path.slice(0), "property": property, "expected": expected});
}
function runTest()

Powered by Google App Engine
This is Rietveld 408576698