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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/cross-origin-no-authorization-expected.txt

Issue 14200030: Remove XMLHttpRequestException in favor of DOMException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests after rebasing... Created 7 years, 7 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
(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: NetworkError: DOM Exception 19
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698