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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/origin-whitelisting-removal-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
1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin. 1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin.
2 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin. 2 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin.
3 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin. 3 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin.
4 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin. 4 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin.
5 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin. 5 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin.
6 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin. 6 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin.
7 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin. 7 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin.
8 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin. 8 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Contro l-Allow-Origin.
9 Tests the behavior of whitelisting origins and removing them later. 9 Tests the behavior of whitelisting origins and removing them later.
10 10
11 Testing: source origin: http://127.0.0.1:8000 destination origin: http:localhost 11 Testing: source origin: http://127.0.0.1:8000 destination origin: http:localhost
12 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 12 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
13 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101 13 PASS: Error: NetworkError: DOM Exception 19
14 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS) 14 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS)
15 PASS: PASS 15 PASS: PASS
16 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 16 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
17 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101 17 PASS: Error: NetworkError: DOM Exception 19
18 18
19 19
20 Testing: source origin: http://127.0.0.1:8000 destination origin: http:localhost allowing subdomains 20 Testing: source origin: http://127.0.0.1:8000 destination origin: http:localhost allowing subdomains
21 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 21 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
22 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101 22 PASS: Error: NetworkError: DOM Exception 19
23 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS) 23 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS)
24 PASS: PASS 24 PASS: PASS
25 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 25 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
26 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101 26 PASS: Error: NetworkError: DOM Exception 19
27 27
28 28
29 Testing: source origin: http://127.0.0.1:8000 destination origin: hTtP:LoCaLhOsT allowing subdomains 29 Testing: source origin: http://127.0.0.1:8000 destination origin: hTtP:LoCaLhOsT allowing subdomains
30 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 30 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
31 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101 31 PASS: Error: NetworkError: DOM Exception 19
32 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS) 32 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS)
33 PASS: PASS 33 PASS: PASS
34 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 34 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
35 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101 35 PASS: Error: NetworkError: DOM Exception 19
36 36
37 37
38 Testing: source origin: http://127.0.0.1:8000 destination origin: http: allowing subdomains 38 Testing: source origin: http://127.0.0.1:8000 destination origin: http: allowing subdomains
39 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 39 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
40 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101 40 PASS: Error: NetworkError: DOM Exception 19
41 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS) 41 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS)
42 PASS: PASS 42 PASS: PASS
43 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 43 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
44 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101 44 PASS: Error: NetworkError: DOM Exception 19
45 45
46 46
47 47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698