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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/full-block-iframe-no-inherit.php

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 years, 9 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: LayoutTests/http/tests/security/xssAuditor/full-block-iframe-no-inherit.php
diff --git a/LayoutTests/http/tests/security/xssAuditor/full-block-iframe-no-inherit.php b/LayoutTests/http/tests/security/xssAuditor/full-block-iframe-no-inherit.php
index 588393f42aa251f0df0ae89f2e4465296b55534a..58f4bf7ed3469731cf259b0f777f5d400219a8ad 100644
--- a/LayoutTests/http/tests/security/xssAuditor/full-block-iframe-no-inherit.php
+++ b/LayoutTests/http/tests/security/xssAuditor/full-block-iframe-no-inherit.php
@@ -16,7 +16,7 @@ if (window.testRunner) {
</head>
<body>
<p>This tests that the header X-XSS-Protection is not inherited by the iframe below:</p>
-<iframe id="frame" onload="checkIfFrameLocationMatchesSrcAndCallDone('frame')" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?q=<script>alert(/XSS/)</script><p>If you see this message and no JavaScript alert() then the test PASSED.</p>">
+<iframe id="frame" name="frame" onload="checkIfFrameLocationMatchesSrcAndCallDone('frame')" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?q=<script>alert(/XSS/)</script><p>If you see this message and no JavaScript alert() then the test PASSED.</p>">
</iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698