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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/malformed-xss-protection-header-4.html

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/malformed-xss-protection-header-4.html
diff --git a/LayoutTests/http/tests/security/xssAuditor/malformed-xss-protection-header-4.html b/LayoutTests/http/tests/security/xssAuditor/malformed-xss-protection-header-4.html
index e91285b10b353f9db1b24bd24b7a677c39cc167e..c8fd390bea14db29f5671c34acffe6a59ff62bae 100644
--- a/LayoutTests/http/tests/security/xssAuditor/malformed-xss-protection-header-4.html
+++ b/LayoutTests/http/tests/security/xssAuditor/malformed-xss-protection-header-4.html
@@ -13,7 +13,7 @@ if (window.testRunner) {
</head>
<body>
<p>This tests that the X-XSS-Protection header is not ignored when there is a trailing garbage after mode=block, and we issue an error</p>
-<iframe id="frame" onload="checkIfFrameLocationMatchesSrcAndCallDone('frame')" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?notifyDone=1&malformed-header=4&q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</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?notifyDone=1&malformed-header=4&q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</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