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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/redirect-cross-origin-tripmine-expected.txt

Issue 344533006: [XHR] Rewrite layout test redirect-cross-origin-tripmine.html using Promises (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/redirect-cross-origin-tripmine.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
3 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 3 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
4 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 4 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
5 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 5 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
6 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 6 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
7 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 7 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
8 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 8 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
9 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 9 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
10 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 10 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. No 'Access-Control-Allow-Origin' header is present on the requested reso urce. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
11 Test that a cross-origin redirect does not result in a non-simple request being sent to the target. 11 Test that a cross-origin redirect does not result in a non-simple request being sent to the target.
12 12
13 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
14
15
13 Asynchronous XMLHttpRequest 307 POST redirect: 16 Asynchronous XMLHttpRequest 307 POST redirect:
14 PASS 17 PASS tripmineStatus is ""
15 Asynchronous XMLHttpRequest 307 GET redirect: 18 Asynchronous XMLHttpRequest 307 GET redirect:
16 PASS 19 PASS tripmineStatus is ""
17 Asynchronous XMLHttpRequest 303 POST redirect: 20 Asynchronous XMLHttpRequest 303 POST redirect:
18 PASS 21 PASS tripmineStatus is ""
19 Asynchronous XMLHttpRequest 303 GET redirect: 22 Asynchronous XMLHttpRequest 303 GET redirect:
20 PASS 23 PASS tripmineStatus is ""
21 Asynchronous XMLHttpRequest 302 POST redirect: 24 Asynchronous XMLHttpRequest 302 POST redirect:
22 PASS 25 PASS tripmineStatus is ""
23 Asynchronous XMLHttpRequest 302 GET redirect: 26 Asynchronous XMLHttpRequest 302 GET redirect:
24 PASS 27 PASS tripmineStatus is ""
25 Asynchronous XMLHttpRequest 307 DELETE redirect: 28 Asynchronous XMLHttpRequest 307 DELETE redirect:
26 PASS 29 PASS tripmineStatus is ""
27 Asynchronous XMLHttpRequest 301 POST redirect: 30 Asynchronous XMLHttpRequest 301 POST redirect:
28 PASS 31 PASS tripmineStatus is ""
29 Asynchronous XMLHttpRequest 301 GET redirect: 32 Asynchronous XMLHttpRequest 301 GET redirect:
30 PASS 33 PASS tripmineStatus is ""
31 Asynchronous XMLHttpRequest 301 DELETE redirect: 34 Asynchronous XMLHttpRequest 301 DELETE redirect:
32 PASS 35 PASS tripmineStatus is ""
33 Synchronous XMLHttpRequest 307 POST redirect: 36 Synchronous XMLHttpRequest 307 POST redirect:
34 PASS 37 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=307&url=http://localhost:8000/resources/tripmine.php'..
38 PASS tripmineStatus is ""
35 Synchronous XMLHttpRequest 307 GET redirect: 39 Synchronous XMLHttpRequest 307 GET redirect:
36 PASS 40 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=307&url=http://localhost:8000/resources/tripmine.php'..
41 PASS tripmineStatus is ""
37 Synchronous XMLHttpRequest 303 POST redirect: 42 Synchronous XMLHttpRequest 303 POST redirect:
38 PASS 43 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=303&url=http://localhost:8000/resources/tripmine.php'..
44 PASS tripmineStatus is ""
39 Synchronous XMLHttpRequest 303 GET redirect: 45 Synchronous XMLHttpRequest 303 GET redirect:
40 PASS 46 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=303&url=http://localhost:8000/resources/tripmine.php'..
47 PASS tripmineStatus is ""
41 Synchronous XMLHttpRequest 302 POST redirect: 48 Synchronous XMLHttpRequest 302 POST redirect:
42 PASS 49 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=302&url=http://localhost:8000/resources/tripmine.php'..
50 PASS tripmineStatus is ""
43 Synchronous XMLHttpRequest 302 GET redirect: 51 Synchronous XMLHttpRequest 302 GET redirect:
44 PASS 52 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=302&url=http://localhost:8000/resources/tripmine.php'..
53 PASS tripmineStatus is ""
45 Synchronous XMLHttpRequest 307 DELETE redirect: 54 Synchronous XMLHttpRequest 307 DELETE redirect:
46 PASS 55 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=307&url=http://localhost:8000/resources/tripmine.php'..
56 PASS tripmineStatus is ""
47 Synchronous XMLHttpRequest 301 POST redirect: 57 Synchronous XMLHttpRequest 301 POST redirect:
48 PASS 58 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=301&url=http://localhost:8000/resources/tripmine.php'..
59 PASS tripmineStatus is ""
49 Synchronous XMLHttpRequest 301 GET redirect: 60 Synchronous XMLHttpRequest 301 GET redirect:
50 PASS 61 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=301&url=http://localhost:8000/resources/tripmine.php'..
62 PASS tripmineStatus is ""
51 Synchronous XMLHttpRequest 301 DELETE redirect: 63 Synchronous XMLHttpRequest 301 DELETE redirect:
52 PASS 64 PASS testSyncReq.send('data') threw exception NetworkError: Failed to execute 's end' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/resources/redire ct.php?code=301&url=http://localhost:8000/resources/tripmine.php'..
53 DONE 65 PASS tripmineStatus is ""
66 PASS successfullyParsed is true
54 67
68 TEST COMPLETE
69
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/redirect-cross-origin-tripmine.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698