OLD | NEW |
1 CONSOLE ERROR: EventSource cannot load http://localhost:8000/eventsource/resourc
es/es-cors-credentials.php?count=1. Wildcards cannot be used in the 'Access-Cont
rol-Allow-Origin' header when the credentials flag is true. Origin 'http://127.0
.0.1:8000' is therefore not allowed access. | 1 CONSOLE ERROR: EventSource cannot load http://localhost:8000/eventsource/resourc
es/es-cors-credentials.php?count=1. A wildcard '*' cannot be used in the 'Access
-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://
127.0.0.1:8000' is therefore not allowed access. |
2 CONSOLE ERROR: EventSource cannot load http://localhost:8000/eventsource/resourc
es/es-cors-credentials.php?count=2. Wildcards cannot be used in the 'Access-Cont
rol-Allow-Origin' header when the credentials flag is true. Origin 'http://127.0
.0.1:8000' is therefore not allowed access. | 2 CONSOLE ERROR: EventSource cannot load http://localhost:8000/eventsource/resourc
es/es-cors-credentials.php?count=2. A wildcard '*' cannot be used in the 'Access
-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://
127.0.0.1:8000' is therefore not allowed access. |
3 CONSOLE ERROR: EventSource cannot load http://localhost:8000/eventsource/resourc
es/es-cors-credentials.php?count=3. Credentials flag is 'true', but the 'Access-
Control-Allow-Credentials' header is ''. It must be 'true' to allow credentials. | 3 CONSOLE ERROR: EventSource cannot load http://localhost:8000/eventsource/resourc
es/es-cors-credentials.php?count=3. Credentials flag is 'true', but the 'Access-
Control-Allow-Credentials' header is ''. It must be 'true' to allow credentials. |
4 Test that EventSource cross-origin requests with credentials fail until the corr
ect CORS headers are sent. Should print a series of PASS messages followed by DO
NE. | 4 Test that EventSource cross-origin requests with credentials fail until the corr
ect CORS headers are sent. Should print a series of PASS messages followed by DO
NE. |
5 | 5 |
6 PASS: got error event and readyState is CLOSED | 6 PASS: got error event and readyState is CLOSED |
7 PASS: got error event and readyState is CLOSED | 7 PASS: got error event and readyState is CLOSED |
8 PASS: got error event and readyState is CLOSED | 8 PASS: got error event and readyState is CLOSED |
9 PASS: got cross-origin message event with data "DATA1" and lastEventId "77" | 9 PASS: got cross-origin message event with data "DATA1" and lastEventId "77" |
10 PASS: got cross-origin message event with data "DATA2" | 10 PASS: got cross-origin message event with data "DATA2" |
11 DONE | 11 DONE |
12 | 12 |
OLD | NEW |