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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-invalid-unset-expected.txt

Issue 26770004: Add console message levels to test expectation output. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: The 'reflected-xss' Content Security Policy directive has the i nvalid value "invalid". Valid values are "allow", "filter", and "block". 1 CONSOLE ERROR: The 'reflected-xss' Content Security Policy directive has the inv alid value "invalid". Valid values are "allow", "filter", and "block".
2 CONSOLE MESSAGE: line 4: The XSS Auditor refused to execute a script in 'http:// 127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?q=%3Cscript%3Ealer t(String.fromCharCode(0x58,0x53,0x53))%3C/script%3E&csp=invalid' because its sou rce code was found within the request. The auditor was enabled as the server sen t neither an 'X-XSS-Protection' nor 'Content-Security-Policy' header. 2 CONSOLE ERROR: line 4: The XSS Auditor refused to execute a script in 'http://12 7.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?q=%3Cscript%3Ealert( String.fromCharCode(0x58,0x53,0x53))%3C/script%3E&csp=invalid' because its sourc e code was found within the request. The auditor was enabled as the server sent neither an 'X-XSS-Protection' nor 'Content-Security-Policy' header.
3 ALERT: Loaded http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag. pl?q=%3Cscript%3Ealert(String.fromCharCode(0x58,0x53,0x53))%3C/script%3E&csp=inv alid into the IFrame. 3 ALERT: Loaded http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag. pl?q=%3Cscript%3Ealert(String.fromCharCode(0x58,0x53,0x53))%3C/script%3E&csp=inv alid into the IFrame.
4 Testing behavior when "reflected-xss" is set to invalid, and "X-XSS-Protection" is set to unset. 4 Testing behavior when "reflected-xss" is set to invalid, and "X-XSS-Protection" is set to unset.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698