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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/report-script-tag-replace-state.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/report-script-tag-replace-state.html
diff --git a/LayoutTests/http/tests/security/xssAuditor/report-script-tag-replace-state.html b/LayoutTests/http/tests/security/xssAuditor/report-script-tag-replace-state.html
index 04d67e523f2a65041d5b943e44c9f4540976894a..37ddfbdd12c7896021b4df29bd355eb0376e4e1e 100644
--- a/LayoutTests/http/tests/security/xssAuditor/report-script-tag-replace-state.html
+++ b/LayoutTests/http/tests/security/xssAuditor/report-script-tag-replace-state.html
@@ -14,7 +14,7 @@ if (window.testRunner) {
<body>
<p>This tests that the X-XSS-Protection reports are sent out properly with
the original, unmodified URL even when a history.replaceState() changes it.</p>
-<iframe id="frame" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?test=report-script-tag.html&echo-report=1&enable-report=1&replaceState=1&q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script><p>If you see this message, no JavaScript alert(), and a dump of the report below, then the test PASSED.</p>">
+<iframe name="frame" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?test=report-script-tag.html&echo-report=1&enable-report=1&replaceState=1&q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script><p>If you see this message, no JavaScript alert(), and a dump of the report below, then the test PASSED.</p>">
</iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698