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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.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-navigated.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html b/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html
index 7bc8a94a9857c478ad2b3bd791cd516e9ec75c81..200adb855da250e82d3e278f057a072e24d1a619 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html
@@ -23,6 +23,7 @@ function runTest()
oldChildWindow = frame.contentWindow;
// Have expected results assume that the frame hasn't been closed (=> window.closed = false.)
collectProperties(document.getElementById("src_frame").contentWindow, false);
+ frame.onload = testFrameLoaded;
frame.src = 'about:blank';
}
@@ -39,6 +40,6 @@ function testFrameLoaded()
</head>
<body onload="runTest()">
<iframe id="src_frame"></iframe>
-<iframe id="test_frame" src="resources/blank.html" onload="testFrameLoaded()"></iframe>
+<iframe id="test_frame" src="data:text/plain,"></iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698