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

Unified Diff: content/test/data/frame-ancestors-none.html

Issue 1754383002: OOPIF: Add a test for cross-site frames blocked by X-Frame-Options and CSP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a comment Created 4 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: content/test/data/frame-ancestors-none.html
diff --git a/content/test/data/frame-ancestors-none.html b/content/test/data/frame-ancestors-none.html
new file mode 100644
index 0000000000000000000000000000000000000000..f1478a34735a32fd0e72dd9d4f9152186c421f28
--- /dev/null
+++ b/content/test/data/frame-ancestors-none.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>This page should NOT load in a frame</title>
+</head>
+<body>
+This page cannot be loaded in an iframe because its CSP specifies frame-ancestors 'none'.
+</body>
+</html>
+
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/test/data/frame-ancestors-none.html.mock-http-headers » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698