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

Unified Diff: LayoutTests/http/tests/security/XFrameOptions/resources/x-frame-options-parent-same-origin-ancestor.html

Issue 20822002: 'X-Frame-Options: SAMEORIGIN' should check all ancestor frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests. Created 7 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/XFrameOptions/x-frame-options-ancestors-same-origin-deny.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/XFrameOptions/resources/x-frame-options-parent-same-origin-ancestor.html
diff --git a/LayoutTests/http/tests/security/XFrameOptions/resources/x-frame-options-parent-same-origin-ancestor.html b/LayoutTests/http/tests/security/XFrameOptions/resources/x-frame-options-parent-same-origin-ancestor.html
new file mode 100644
index 0000000000000000000000000000000000000000..d8fc85630c864bc3fe4ff3440163161565c01a13
--- /dev/null
+++ b/LayoutTests/http/tests/security/XFrameOptions/resources/x-frame-options-parent-same-origin-ancestor.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+ <p>The inner frame should not render any content, as this frame is cross-origin.</p>
+ <iframe src="http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-parent-same-origin-deny.cgi"></iframe>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/XFrameOptions/x-frame-options-ancestors-same-origin-deny.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698