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

Side by Side Diff: LayoutTests/http/tests/security/xssAuditor/cached-frame-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: line 5: The XSS Auditor refused to execute a script in 'http:// 127.0.0.1:8000/security/xssAuditor/resources/nph-cached.pl?q=%3cscript%3ealert(/ XSS/);%3c/script%3e' because its source code was found within the request. The s erver sent an 'X-XSS-Protection' header requesting this behavior. 1 CONSOLE ERROR: line 5: The XSS Auditor refused to execute a script in 'http://12 7.0.0.1:8000/security/xssAuditor/resources/nph-cached.pl?q=%3cscript%3ealert(/XS S/);%3c/script%3e' because its source code was found within the request. The ser ver sent an 'X-XSS-Protection' header requesting this behavior.
2 CONSOLE MESSAGE: line 5: The XSS Auditor refused to execute a script in 'http:// 127.0.0.1:8000/security/xssAuditor/resources/nph-cached.pl?q=%3cscript%3ealert(/ XSS/);%3c/script%3e' because its source code was found within the request. The s erver sent an 'X-XSS-Protection' header requesting this behavior. 2 CONSOLE ERROR: line 5: The XSS Auditor refused to execute a script in 'http://12 7.0.0.1:8000/security/xssAuditor/resources/nph-cached.pl?q=%3cscript%3ealert(/XS S/);%3c/script%3e' because its source code was found within the request. The ser ver sent an 'X-XSS-Protection' header requesting this behavior.
3 Check that an X-XSS-Protection header added by a 304 response does not override one from the original request. 3 Check that an X-XSS-Protection header added by a 304 response does not override one from the original request.
4 4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 6
7 7
8 Two console messages should be generated, noting that JavaScript was blocked. 8 Two console messages should be generated, noting that JavaScript was blocked.
9 Check that the nonce is the same, meaning that the document was only generated o nce: 9 Check that the nonce is the same, meaning that the document was only generated o nce:
10 PASS frame1.contentDocument.querySelector("input").value == frame2.contentDocume nt.querySelector("input").value is true 10 PASS frame1.contentDocument.querySelector("input").value == frame2.contentDocume nt.querySelector("input").value is true
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698