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

Unified Diff: third_party/WebKit/Source/web/tests/data/iframe_redirect_blocked.html

Issue 2022083002: Move 'frame-src' CSP checks into FrameFetchContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: redirects Created 4 years, 6 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/Source/web/tests/data/iframe_redirect_blocked.html
diff --git a/third_party/WebKit/Source/web/tests/data/iframe_redirect_blocked.html b/third_party/WebKit/Source/web/tests/data/iframe_redirect_blocked.html
new file mode 100644
index 0000000000000000000000000000000000000000..ba4d88d3bef03e4edc0f2155f6defe98fc2d4047
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/iframe_redirect_blocked.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ <meta http-equiv="content-security-policy" content="frame-src 'none'">
+ </head>
+ <body>
+ <iframe id='ifr' name='ifr'>
+ </iframe>
+ <script>
+ var ifr = document.getElementById('ifr');
+ ifr.contentWindow.document.location = "visible_iframe.html";
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698