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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt

Issue 2705783004: Throw security errors for attribute access on detached windows. (Closed)
Patch Set: Bad tests Created 3 years, 10 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-navigated-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt
index 0daa4a89741d4104eaf2e5c4a26625574158a12b..430d530ed6e4bfda03bbbaed5acd42e3c4ae7d3f 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt
@@ -16,15 +16,15 @@ PASS window.cached_applicationCache.status is 0
PASS window.cached_history.length is 0
PASS window.cached_history.scrollRestoration is 'auto'
PASS window.cached_history.state is null
-PASS window.cached_location.hash is undefined
-PASS window.cached_location.host is undefined
-PASS window.cached_location.hostname is undefined
-PASS window.cached_location.href is undefined
-PASS window.cached_location.origin is undefined
-PASS window.cached_location.pathname is undefined
-PASS window.cached_location.port is undefined
-PASS window.cached_location.protocol is undefined
-PASS window.cached_location.search is undefined
+FAIL window.cached_location.hash should be undefined. Threw exception SecurityError: Blocked a frame with origin "file://" from accessing a detached cross-origin frame
+FAIL window.cached_location.host should be undefined. Threw exception SecurityError: Blocked a frame with origin "file://" from accessing a detached cross-origin frame
+FAIL window.cached_location.hostname should be undefined. Threw exception SecurityError: Blocked a frame with origin "file://" from accessing a detached cross-origin frame
+FAIL window.cached_location.href should be undefined. Threw exception SecurityError: Blocked a frame with origin "file://" from accessing a detached cross-origin frame
+FAIL window.cached_location.origin should be undefined. Threw exception SecurityError: Blocked a frame with origin "file://" from accessing a detached cross-origin frame
+FAIL window.cached_location.pathname should be undefined. Threw exception SecurityError: Blocked a frame with origin "file://" from accessing a detached cross-origin frame
+FAIL window.cached_location.port should be undefined. Threw exception SecurityError: Blocked a frame with origin "file://" from accessing a detached cross-origin frame
+FAIL window.cached_location.protocol should be undefined. Threw exception SecurityError: Blocked a frame with origin "file://" from accessing a detached cross-origin frame
+FAIL window.cached_location.search should be undefined. Threw exception SecurityError: Blocked a frame with origin "file://" from accessing a detached cross-origin frame
PASS window.cached_location_ancestorOrigins.length is 1
PASS window.cached_locationbar.visible is false
PASS window.cached_menubar.visible is false

Powered by Google App Engine
This is Rietveld 408576698