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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture.html

Issue 2092293002: Block framebusts without a user gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better flag description Created 4 years, 3 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/xss-DENIED-top-navigation-without-user-gesture.html
diff --git a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-noscript.html b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture.html
similarity index 52%
copy from third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-noscript.html
copy to third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture.html
index 89552398182a42d2083cf0dddd25954fc4648de9..165ada9a444b57739f0a742fddfbae396d7d1829 100644
--- a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-noscript.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture.html
@@ -1,4 +1,3 @@
-<!DOCTYPE html>
<html>
<head>
<script>
@@ -9,7 +8,6 @@ if (window.testRunner) {
</script>
</head>
<body>
-<iframe sandbox src="data:text/html,<noscript>PASS</noscript>">
-</iframe>
+<iframe src="http://localhost:8000/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html"></iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698