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

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

Issue 2471533005: Preserve custom headers when following cross-origin redirects. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
OLDNEW
1 CONSOLE WARNING: line 21: Synchronous XMLHttpRequest on the main thread is depre cated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. 1 CONSOLE WARNING: line 21: Synchronous XMLHttpRequest on the main thread is depre cated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
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.
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.
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.
8 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://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. 3 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://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. 4 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access.
5 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access.
6 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access.
7 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access.
8 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access.
9 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access.
10 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access.
11 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access. 11 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/tripmi ne.php. Response to preflight request doesn't pass access control check: No 'Acc ess-Control-Allow-Origin' header is present on the requested resource. Origin 'h ttp://127.0.0.1:8000' is therefore not allowed access.
12 Test that a cross-origin redirect does not result in a non-simple request being sent to the target. 12 Test that a cross-origin redirect does not result in a non-simple request being sent to the target.
13 13
14 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 14 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
15 15
16 16
17 Asynchronous XMLHttpRequest 307 POST redirect: 17 Asynchronous XMLHttpRequest 307 POST redirect:
18 PASS tripmineStatus is "" 18 PASS tripmineStatus is ""
19 Asynchronous XMLHttpRequest 307 GET redirect: 19 Asynchronous XMLHttpRequest 307 GET redirect:
20 PASS tripmineStatus is "" 20 PASS tripmineStatus is ""
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 Synchronous XMLHttpRequest 301 GET redirect: 61 Synchronous XMLHttpRequest 301 GET redirect:
62 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 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'..
63 PASS tripmineStatus is "" 63 PASS tripmineStatus is ""
64 Synchronous XMLHttpRequest 301 DELETE redirect: 64 Synchronous XMLHttpRequest 301 DELETE redirect:
65 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'.. 65 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'..
66 PASS tripmineStatus is "" 66 PASS tripmineStatus is ""
67 PASS successfullyParsed is true 67 PASS successfullyParsed is true
68 68
69 TEST COMPLETE 69 TEST COMPLETE
70 70
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698