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

Side by Side Diff: LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt

Issue 1300083002: Add suggestion to use "no-cors" with Fetch fails CORS check. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch CORS error expectation files to include message about Fetch CORS. Created 5 years, 4 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
OLDNEW
1 CONSOLE MESSAGE: line 10: sending a %s request to %s 1 CONSOLE MESSAGE: line 10: sending a %s request to %s
2 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck http://xhr.spec.whatwg.org/. 2 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck http://xhr.spec.whatwg.org/.
3 CONSOLE WARNING: Setting 'XMLHttpRequest.withCredentials' for synchronous reques ts is deprecated. 3 CONSOLE WARNING: Setting 'XMLHttpRequest.withCredentials' for synchronous reques ts is deprecated.
4 CONSOLE MESSAGE: line 10: sending a %s request to %s 4 CONSOLE MESSAGE: line 10: sending a %s request to %s
5 CONSOLE MESSAGE: line 10: sending a %s request to %s 5 CONSOLE MESSAGE: line 10: sending a %s request to %s
6 CONSOLE MESSAGE: line 10: sending a %s request to %s 6 CONSOLE MESSAGE: line 10: sending a %s request to %s
7 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/inspector/resour ces/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on the r equested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed acces s. 7 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/inspector/resour ces/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on the r equested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed acces s. Alternatively, if you want an opaque response, switch to The Fetch API in 'no -cors' mode.
8 CONSOLE MESSAGE: line 10: sending a %s request to %s 8 CONSOLE MESSAGE: line 10: sending a %s request to %s
9 CONSOLE MESSAGE: line 10: sending a %s request to %s 9 CONSOLE MESSAGE: line 10: sending a %s request to %s
10 CONSOLE MESSAGE: line 10: sending a %s request to %s 10 CONSOLE MESSAGE: line 10: sending a %s request to %s
11 CONSOLE MESSAGE: line 10: sending a %s request to %s 11 CONSOLE MESSAGE: line 10: sending a %s request to %s
12 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/inspector/resour ces/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on the r equested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed acces s. 12 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/inspector/resour ces/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on the r equested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed acces s. Alternatively, if you want an opaque response, switch to The Fetch API in 'no -cors' mode.
13 Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled. 13 Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled.
14 14
15 console-xhr-logging.html:5 sending a GET request to resources/xhr-exists.html 15 console-xhr-logging.html:5 sending a GET request to resources/xhr-exists.html
16 network-test.js:33 Synchronous XMLHttpRequest on the main thread is deprecated b ecause of its detrimental effects to the end user's experience. For more help, c heck http://xhr.spec.whatwg.org/. 16 network-test.js:33 Synchronous XMLHttpRequest on the main thread is deprecated b ecause of its detrimental effects to the end user's experience. For more help, c heck http://xhr.spec.whatwg.org/.
17 network-test.js:34 Setting 'XMLHttpRequest.withCredentials' for synchronous requ ests is deprecated. 17 network-test.js:34 Setting 'XMLHttpRequest.withCredentials' for synchronous requ ests is deprecated.
18 network-test.js:37 XHR finished loading: GET "http://127.0.0.1:8000/inspector/re sources/xhr-exists.html".makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr- logging.html:6makeRequests @ console-xhr-logging.html:12(anonymous function) @ V M:1 18 network-test.js:37 XHR finished loading: GET "http://127.0.0.1:8000/inspector/re sources/xhr-exists.html".makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr- logging.html:6makeRequests @ console-xhr-logging.html:12(anonymous function) @ V M:1
19 console-xhr-logging.html:5 sending a GET request to resources/xhr-does-not-exist .html 19 console-xhr-logging.html:5 sending a GET request to resources/xhr-does-not-exist .html
20 network-test.js:37 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-ex ist.html 404 (Not Found)makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ n etwork-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-l ogging.html:6makeRequests @ console-xhr-logging.html:14(anonymous function) @ VM :1 20 network-test.js:37 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-ex ist.html 404 (Not Found)makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ n etwork-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-l ogging.html:6makeRequests @ console-xhr-logging.html:14(anonymous function) @ VM :1
21 network-test.js:37 XHR finished loading: GET "http://127.0.0.1:8000/inspector/re sources/xhr-does-not-exist.html".makeXHR @ network-test.js:37makeSimpleXHRWithPa yload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ cons ole-xhr-logging.html:6makeRequests @ console-xhr-logging.html:14(anonymous funct ion) @ VM:1 21 network-test.js:37 XHR finished loading: GET "http://127.0.0.1:8000/inspector/re sources/xhr-does-not-exist.html".makeXHR @ network-test.js:37makeSimpleXHRWithPa yload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ cons ole-xhr-logging.html:6makeRequests @ console-xhr-logging.html:14(anonymous funct ion) @ VM:1
22 console-xhr-logging.html:5 sending a POST request to resources/post-target.cgi 22 console-xhr-logging.html:5 sending a POST request to resources/post-target.cgi
23 network-test.js:37 XHR finished loading: POST "http://127.0.0.1:8000/inspector/r esources/post-target.cgi".makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr -logging.html:6makeRequests @ console-xhr-logging.html:16(anonymous function) @ VM:1 23 network-test.js:37 XHR finished loading: POST "http://127.0.0.1:8000/inspector/r esources/post-target.cgi".makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr -logging.html:6makeRequests @ console-xhr-logging.html:16(anonymous function) @ VM:1
24 console-xhr-logging.html:5 sending a GET request to http://localhost:8000/inspec tor/resources/xhr-exists.html 24 console-xhr-logging.html:5 sending a GET request to http://localhost:8000/inspec tor/resources/xhr-exists.html
25 network-test.js:37 XMLHttpRequest cannot load http://localhost:8000/inspector/re sources/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on t he requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed a ccess.makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16m akeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-logging.html:6makeR equests @ console-xhr-logging.html:18(anonymous function) @ VM:1 25 network-test.js:37 XMLHttpRequest cannot load http://localhost:8000/inspector/re sources/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on t he requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed a ccess. Alternatively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode.makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-t est.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-logging.h tml:6makeRequests @ console-xhr-logging.html:18(anonymous function) @ VM:1
26 network-test.js:37 XHR failed loading: GET "http://localhost:8000/inspector/reso urces/xhr-exists.html".makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ ne twork-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-lo gging.html:6makeRequests @ console-xhr-logging.html:18(anonymous function) @ VM: 1 26 network-test.js:37 XHR failed loading: GET "http://localhost:8000/inspector/reso urces/xhr-exists.html".makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ ne twork-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-lo gging.html:6makeRequests @ console-xhr-logging.html:18(anonymous function) @ VM: 1
27 console-xhr-logging.html:5 sending a GET request to resources/xhr-exists.html 27 console-xhr-logging.html:5 sending a GET request to resources/xhr-exists.html
28 console-xhr-logging.html:5 sending a GET request to resources/xhr-does-not-exist .html 28 console-xhr-logging.html:5 sending a GET request to resources/xhr-does-not-exist .html
29 network-test.js:37 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-ex ist.html 404 (Not Found)makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ n etwork-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-l ogging.html:6makeRequests @ console-xhr-logging.html:14(anonymous function) @ VM :1 29 network-test.js:37 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-ex ist.html 404 (Not Found)makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ n etwork-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-l ogging.html:6makeRequests @ console-xhr-logging.html:14(anonymous function) @ VM :1
30 console-xhr-logging.html:5 sending a POST request to resources/post-target.cgi 30 console-xhr-logging.html:5 sending a POST request to resources/post-target.cgi
31 console-xhr-logging.html:5 sending a GET request to http://localhost:8000/inspec tor/resources/xhr-exists.html 31 console-xhr-logging.html:5 sending a GET request to http://localhost:8000/inspec tor/resources/xhr-exists.html
32 network-test.js:37 XMLHttpRequest cannot load http://localhost:8000/inspector/re sources/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on t he requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed a ccess.makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16m akeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-logging.html:6makeR equests @ console-xhr-logging.html:18(anonymous function) @ VM:1 32 network-test.js:37 XMLHttpRequest cannot load http://localhost:8000/inspector/re sources/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on t he requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed a ccess. Alternatively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode.makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-t est.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-logging.h tml:6makeRequests @ console-xhr-logging.html:18(anonymous function) @ VM:1
33 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698