| OLD | NEW |
| (Empty) |
| 1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest
/resources/cross-origin-no-authorization.php. Credentials flag is true, but Acce
ss-Control-Allow-Credentials is not "true". | |
| 2 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest
/resources/cross-origin-no-authorization.php. Credentials flag is true, but Acce
ss-Control-Allow-Credentials is not "true". | |
| 3 Start | |
| 4 Trying different ways to access a password protected resource from another origi
n. The UA already has login and password for this protection space. | |
| 5 | |
| 6 You should see several PASS messages followed by a DONE | |
| 7 | |
| 8 SCRIPT SRC='...' Should succeed, since authorization is sent for cross-origin su
bresource loads. | |
| 9 PASS: Loaded, user test | |
| 10 Cross-origin XMLHttpRequest (sync), authorization will not be sent, because with
Credentials is false. | |
| 11 PASS: 401 Authorization required | |
| 12 Cross-origin XMLHttpRequest (sync), testing authorization that's not allowed by
the server (withCredentials is true, but access control headers are not set). | |
| 13 PASS: Got an exception. Error: NETWORK_ERR: XMLHttpRequest Exception 101 | |
| 14 Cross-origin XMLHttpRequest (sync), testing cookies. | |
| 15 PASS | |
| 16 Cross-origin XMLHttpRequest (async), authorization will not be sent, because wit
hCredentials is false. | |
| 17 PASS: 401 Authorization required | |
| 18 Cross-origin XMLHttpRequest (async), testing authorization that's not allowed by
the server (withCredentials is true, but access control headers are not set). | |
| 19 PASS: Received error event. | |
| 20 Cross-origin XMLHttpRequest (async), testing cookies. | |
| 21 PASS | |
| 22 Cross-origin XMLHttpRequest (sync), testing authorization with explicitly provid
ed credentials that should be ignored. | |
| 23 PASS: 401 Authorization required | |
| 24 Cross-origin XMLHttpRequest (async), testing authorization with explicitly provi
ded credentials that should be ignored. | |
| 25 PASS: 401 Authorization required | |
| 26 DONE | |
| 27 | |
| OLD | NEW |