| Index: LayoutTests/http/tests/xmlhttprequest/cross-origin-no-authorization-expected.txt
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/cross-origin-no-authorization-expected.txt b/LayoutTests/http/tests/xmlhttprequest/cross-origin-no-authorization-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b4a463ca5d0666bebed407bc7dfac86ae2e2767b
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/cross-origin-no-authorization-expected.txt
|
| @@ -0,0 +1,27 @@
|
| +CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/cross-origin-no-authorization.php. Credentials flag is true, but Access-Control-Allow-Credentials is not "true".
|
| +CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/cross-origin-no-authorization.php. Credentials flag is true, but Access-Control-Allow-Credentials is not "true".
|
| +Start
|
| +Trying different ways to access a password protected resource from another origin. The UA already has login and password for this protection space.
|
| +
|
| +You should see several PASS messages followed by a DONE
|
| +
|
| +SCRIPT SRC='...' Should succeed, since authorization is sent for cross-origin subresource loads.
|
| +PASS: Loaded, user test
|
| +Cross-origin XMLHttpRequest (sync), authorization will not be sent, because withCredentials is false.
|
| +PASS: 401 Authorization required
|
| +Cross-origin XMLHttpRequest (sync), testing authorization that's not allowed by the server (withCredentials is true, but access control headers are not set).
|
| +PASS: Got an exception. Error: NetworkError: DOM Exception 19
|
| +Cross-origin XMLHttpRequest (sync), testing cookies.
|
| +PASS
|
| +Cross-origin XMLHttpRequest (async), authorization will not be sent, because withCredentials is false.
|
| +PASS: 401 Authorization required
|
| +Cross-origin XMLHttpRequest (async), testing authorization that's not allowed by the server (withCredentials is true, but access control headers are not set).
|
| +PASS: Received error event.
|
| +Cross-origin XMLHttpRequest (async), testing cookies.
|
| +PASS
|
| +Cross-origin XMLHttpRequest (sync), testing authorization with explicitly provided credentials that should be ignored.
|
| +PASS: 401 Authorization required
|
| +Cross-origin XMLHttpRequest (async), testing authorization with explicitly provided credentials that should be ignored.
|
| +PASS: 401 Authorization required
|
| +DONE
|
| +
|
|
|