OLD | NEW |
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 |
OLD | NEW |