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

Unified Diff: content/test/data/x-frame-options-deny.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/x-frame-options-deny.html
diff --git a/content/test/data/x-frame-options-deny.html b/content/test/data/x-frame-options-deny.html
new file mode 100644
index 0000000000000000000000000000000000000000..25d9db11720b5f61cafd0cbd4782694354cb49f3
--- /dev/null
+++ b/content/test/data/x-frame-options-deny.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 X-Frame-Options is set to DENY.
+</body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698