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

Unified Diff: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block.html

Issue 184633004: Revert 168553 "id of iframe incorrectly sets window name" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 10 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: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block.html
===================================================================
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block.html (revision 168578)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block.html (working copy)
@@ -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" name="frame"
+ <iframe id="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