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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block.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/contentSecurityPolicy/1.1/reflected-xss-block.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block.html
index 7a3c082af4d5b8a985037a19b32da3b8a08816c5..0a296cea88a728d3bb5adca2f20525117c0a1388 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block.html
@@ -15,7 +15,7 @@
<p>Tests that 'Content-Security-Policy: reflected-xss block;' enables the XSSAuditor.
This test passes if a console message is generated, and the page is blocked.
There should be no content in the IFrame below:</p>
- <iframe id="frame"
+ <iframe id="frame" name="frame"
onload="checkIfFrameLocationMatchesSrcAndCallDone('frame')"
src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?csp=block&amp;q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script>"></iframe>
</body>

Powered by Google App Engine
This is Rietveld 408576698