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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag2-expected.txt

Issue 2524013002: XSS Auditor: Block by default. (Closed)
Patch Set: Rebase+Test Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag2-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag2-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag2-expected.txt
index 0c1989e23687152849fcf32b803815adcbe7c954..a878ea04cf30a482bee8de4122b8850cff26439d 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag2-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag2-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?clutter=%3Cdiv%3E%3Ci%3Ex%3C/i%3E%3C/div%3E&q=%3Csvg%3E%3Cscript%3E%3C!--&q2=--%3E%26%23x0a%3balert%26%23x28%3bString.fromCharCode(0x58,0x53,0x53))%3C/script%3E%3C/svg%3E' because its source code was found within the request. The auditor was enabled as the server did not send an 'X-XSS-Protection' header.
+CONSOLE ERROR: line 4: The XSS Auditor refused to execute a script in 'http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?clutter=%3Cdiv%3E%3Ci%3Ex%3C/i%3E%3C/div%3E&q=%3Csvg%3E%3Cscript%3E%3C!--&q2=--%3E%26%23x0a%3balert%26%23x28%3bString.fromCharCode(0x58,0x53,0x53))%3C/script%3E%3C/svg%3E' because its source code was found within the request. The server sent an 'X-XSS-Protection' header requesting this behavior.
Ensures HTML entities are recognized in script blocks in a context where CDATA is allowed even with <!-- comments -->.

Powered by Google App Engine
This is Rietveld 408576698