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

Side by Side Diff: LayoutTests/fast/eventsource/eventsource-constructor-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: Refused to connect to 'http://disallowed.example.com/' because it violates the following Content Security Policy directive: "connect-src http:/ /invalid http://127.0.0.1". 1 CONSOLE ERROR: Refused to connect to 'http://disallowed.example.com/' because it violates the following Content Security Policy directive: "connect-src http://i nvalid http://127.0.0.1".
2 2
3 Test EventSource constructor functionality. Should print a series of PASS messag es followed by DONE. 3 Test EventSource constructor functionality. Should print a series of PASS messag es followed by DONE.
4 4
5 PASS: missing argument to EventSource constructor resulted in an exception (Type Error: Failed to execute 'Constructor' on 'EventSource': 1 argument required, bu t only 0 present.) 5 PASS: missing argument to EventSource constructor resulted in an exception (Type Error: Failed to execute 'Constructor' on 'EventSource': 1 argument required, bu t only 0 present.)
6 PASS: passing an empty string to the EventSource constructor resulted in an exce ption (SyntaxError: Cannot open an EventSource to an empty URL.) 6 PASS: passing an empty string to the EventSource constructor resulted in an exce ption (SyntaxError: Cannot open an EventSource to an empty URL.)
7 PASS: passing an invalid URL to the EventSource constructor resulted in an excep tion (SyntaxError: Cannot open an EventSource to 'http://webserver:eighty/'. The URL is invalid.) 7 PASS: passing an invalid URL to the EventSource constructor resulted in an excep tion (SyntaxError: Cannot open an EventSource to 'http://webserver:eighty/'. The URL is invalid.)
8 PASS: passing a Content-Security-Policy-blocked URL to the EventSource construct or resulted in an exception (SecurityError: Refused to connect to 'http://disall owed.example.com/' because it violates the document's Content Security Policy.) 8 PASS: passing a Content-Security-Policy-blocked URL to the EventSource construct or resulted in an exception (SecurityError: Refused to connect to 'http://disall owed.example.com/' because it violates the document's Content Security Policy.)
9 PASS: no exception when passing a second argument to the EventSource constructor 9 PASS: no exception when passing a second argument to the EventSource constructor
10 DONE 10 DONE
11 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698