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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/script-tag-with-injected-comment-expected.txt

Issue 210033008: Don't include trailing comments in javascript snippets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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/script-tag-with-injected-comment-expected.txt
diff --git a/LayoutTests/http/tests/security/xssAuditor/script-tag-control-char-expected.txt b/LayoutTests/http/tests/security/xssAuditor/script-tag-with-injected-comment-expected.txt
similarity index 66%
copy from LayoutTests/http/tests/security/xssAuditor/script-tag-control-char-expected.txt
copy to LayoutTests/http/tests/security/xssAuditor/script-tag-with-injected-comment-expected.txt
index aa7d9b7fef7f801f34c154a448c3fdde091d4670..9902ed5561dfb31b98c5e6542ae67847357f1a6c 100644
--- a/LayoutTests/http/tests/security/xssAuditor/script-tag-control-char-expected.txt
+++ b/LayoutTests/http/tests/security/xssAuditor/script-tag-with-injected-comment-expected.txt
@@ -1,2 +1,2 @@
-CONSOLE ERROR: line 4: The XSS Auditor refused to execute a script in 'http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=%3Cscript%3Ealert(String.fromCharCode(0x58,0x53,0x53))//h%01%3C/script%3E' because its source code was found within the request. The auditor was enabled as the server sent neither an 'X-XSS-Protection' nor 'Content-Security-Policy' header.
+CONSOLE ERROR: line 4: The XSS Auditor refused to execute a script in 'http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?clutter=/*]]%3E*/&q=%3Cscript%3E/*%3C!CDATA[*/alert(/XSS/)&q2=%3C/script%3E' because its source code was found within the request. The auditor was enabled as the server sent neither an 'X-XSS-Protection' nor 'Content-Security-Policy' header.

Powered by Google App Engine
This is Rietveld 408576698