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

Side by Side Diff: LayoutTests/http/tests/security/script-onerror-no-crossorigin-no-cors-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 1: Uncaught SomeError 1 CONSOLE ERROR: line 1: Uncaught SomeError
2 The test passes if 'window.onerror' gets sanitized information about an exceptio n thrown in a script loaded without a 'crossorigin' attribute, and delivered wit hout valid CORS headers. 2 The test passes if 'window.onerror' gets sanitized information about an exceptio n thrown in a script loaded without a 'crossorigin' attribute, and delivered wit hout valid CORS headers.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS msg is "Script error." 7 PASS msg is "Script error."
8 PASS url is "" 8 PASS url is ""
9 PASS line is 0 9 PASS line is 0
10 PASS column is 0 10 PASS column is 0
11 PASS window.errorObject is null 11 PASS window.errorObject is null
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698