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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState Created 3 years, 11 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/resources/iframe-that-performs-top-navigation-without-user-gesture.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html
index fc545868556b3a3fabbe66b21753ba8fe76a218c..f2c74ebb14b1ec1a681e8bdf4aab9c4ed54ac1b8 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html
@@ -1,14 +1,14 @@
<html>
<body>
-The navigation should succeed. This text shouldn't appear.
+The navigation should fail and this iframe should be blocked. This text shouldn't appear.
<script>
window.onload = function()
{
try {
top.location = "http://localhost:8000/security/frameNavigation/resources/navigation-changed-iframe.html";
- top.postMessage("PASS", "*");
- } catch(e) {
top.postMessage("FAIL", "*");
+ } catch(e) {
+ top.postMessage("PASS", "*");
}
}
</script>

Powered by Google App Engine
This is Rietveld 408576698