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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-WARN-top-navigation-without-user-gesture-expected.txt

Issue 2617313002: Add deprecation message for top navigations from sandbox w/ 'allow-top-navigation' but no gesture (Closed)
Patch Set: Add the deprecation message to fix the broken tests in LayoutTests/fast/frames/. Created 3 years, 11 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/http/tests/security/frameNavigation/sandbox-WARN-top-navigation-without-user-gesture-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-WARN-top-navigation-without-user-gesture-expected.txt
similarity index 52%
copy from third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture-expected.txt
copy to third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-WARN-top-navigation-without-user-gesture-expected.txt
index 211d03a50221040f9d02d43986705451c8da583e..ec37e142545f857ec97e1abdcbbdb62eacd4b8f9 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-WARN-top-navigation-without-user-gesture-expected.txt
@@ -1,4 +1,5 @@
-CONSOLE WARNING: line 8: Frame with URL 'http://localhost:8000/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html' attempted to navigate its top-level window with URL 'http://127.0.0.1:8000/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture.html'. Navigating the top-level window from a cross-origin iframe will soon require that the iframe has received a user gesture. See https://www.chromestatus.com/features/5851021045661696.
+CONSOLE WARNING: line 8: Frame with URL 'http://localhost:8000/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html' attempted to navigate its top-level window with URL 'http://127.0.0.1:8000/security/frameNavigation/sandbox-WARN-top-navigation-without-user-gesture.html'. Navigating the top-level window from a sandboxed iframe with 'allow-top-navigation' will soon require that the iframe has received a user gesture. See https://www.chromestatus.com/features/5629582019395584.
+
localhost
PASSED: Navigation succeeded.

Powered by Google App Engine
This is Rietveld 408576698