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

Side by Side Diff: LayoutTests/http/tests/inspector/console-fetch-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 9: sending a GET request to resources/xhr-exists.html 1 CONSOLE MESSAGE: line 9: sending a GET request to resources/xhr-exists.html
2 CONSOLE MESSAGE: line 9: sending a GET request to resources/xhr-does-not-exist.h tml 2 CONSOLE MESSAGE: line 9: sending a GET request to resources/xhr-does-not-exist.h tml
3 CONSOLE MESSAGE: line 9: sending a POST request to resources/post-target.cgi 3 CONSOLE MESSAGE: line 9: sending a POST request to resources/post-target.cgi
4 CONSOLE MESSAGE: line 9: sending a GET request to http://localhost:8000/inspecto r/resources/xhr-exists.html 4 CONSOLE MESSAGE: line 9: sending a GET request to http://localhost:8000/inspecto r/resources/xhr-exists.html
5 CONSOLE ERROR: Fetch API cannot load http://localhost:8000/inspector/resources/x hr-exists.html. No 'Access-Control-Allow-Origin' header is present on the reques ted resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 5 CONSOLE ERROR: Fetch API cannot load http://localhost:8000/inspector/resources/x hr-exists.html. No 'Access-Control-Allow-Origin' header is present on the reques ted resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. Al ternatively, if you want an opaque response, switch to The Fetch API in 'no-cors ' mode.
6 CONSOLE MESSAGE: line 9: sending a GET request to resources/xhr-exists.html 6 CONSOLE MESSAGE: line 9: sending a GET request to resources/xhr-exists.html
7 CONSOLE MESSAGE: line 9: sending a GET request to resources/xhr-does-not-exist.h tml 7 CONSOLE MESSAGE: line 9: sending a GET request to resources/xhr-does-not-exist.h tml
8 CONSOLE MESSAGE: line 9: sending a POST request to resources/post-target.cgi 8 CONSOLE MESSAGE: line 9: sending a POST request to resources/post-target.cgi
9 CONSOLE MESSAGE: line 9: sending a GET request to http://localhost:8000/inspecto r/resources/xhr-exists.html 9 CONSOLE MESSAGE: line 9: sending a GET request to http://localhost:8000/inspecto r/resources/xhr-exists.html
10 CONSOLE ERROR: Fetch API cannot load http://localhost:8000/inspector/resources/x hr-exists.html. No 'Access-Control-Allow-Origin' header is present on the reques ted resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 10 CONSOLE ERROR: Fetch API cannot load http://localhost:8000/inspector/resources/x hr-exists.html. No 'Access-Control-Allow-Origin' header is present on the reques ted resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. Al ternatively, if you want an opaque response, switch to The Fetch API in 'no-cors ' mode.
11 Tests that fetch logging works when XMLHttpRequest Logging is Enabled and doesn' t show logs when it is Disabled. 11 Tests that fetch logging works when XMLHttpRequest Logging is Enabled and doesn' t show logs when it is Disabled.
12 12
13 console-fetch-logging.html:4 sending a GET request to resources/xhr-exists.html 13 console-fetch-logging.html:4 sending a GET request to resources/xhr-exists.html
14 network-test.js:48 Fetch complete: GET "http://127.0.0.1:8000/inspector/resource s/xhr-exists.html".makeFetch @ network-test.js:48requestHelper @ console-fetch-l ogging.html:11step1 @ console-fetch-logging.html:21makeRequests @ console-fetch- logging.html:16(anonymous function) @ VM:1(anonymous function) @ VM:11(anonymous function) @ VM:16 14 network-test.js:48 Fetch complete: GET "http://127.0.0.1:8000/inspector/resource s/xhr-exists.html".makeFetch @ network-test.js:48requestHelper @ console-fetch-l ogging.html:11step1 @ console-fetch-logging.html:21makeRequests @ console-fetch- logging.html:16(anonymous function) @ VM:1(anonymous function) @ VM:11(anonymous function) @ VM:16
15 console-fetch-logging.html:4 sending a GET request to resources/xhr-does-not-exi st.html 15 console-fetch-logging.html:4 sending a GET request to resources/xhr-does-not-exi st.html
16 network-test.js:48 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-ex ist.html 404 (Not Found)makeFetch @ network-test.js:48requestHelper @ console-fe tch-logging.html:11step2 @ console-fetch-logging.html:27 16 network-test.js:48 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-ex ist.html 404 (Not Found)makeFetch @ network-test.js:48requestHelper @ console-fe tch-logging.html:11step2 @ console-fetch-logging.html:27
17 network-test.js:48 Fetch complete: GET "http://127.0.0.1:8000/inspector/resource s/xhr-does-not-exist.html".makeFetch @ network-test.js:48requestHelper @ console -fetch-logging.html:11step2 @ console-fetch-logging.html:27 17 network-test.js:48 Fetch complete: GET "http://127.0.0.1:8000/inspector/resource s/xhr-does-not-exist.html".makeFetch @ network-test.js:48requestHelper @ console -fetch-logging.html:11step2 @ console-fetch-logging.html:27
18 console-fetch-logging.html:4 sending a POST request to resources/post-target.cgi 18 console-fetch-logging.html:4 sending a POST request to resources/post-target.cgi
19 network-test.js:48 Fetch complete: POST "http://127.0.0.1:8000/inspector/resourc es/post-target.cgi".makeFetch @ network-test.js:48requestHelper @ console-fetch- logging.html:11step3 @ console-fetch-logging.html:33 19 network-test.js:48 Fetch complete: POST "http://127.0.0.1:8000/inspector/resourc es/post-target.cgi".makeFetch @ network-test.js:48requestHelper @ console-fetch- logging.html:11step3 @ console-fetch-logging.html:33
20 console-fetch-logging.html:4 sending a GET request to http://localhost:8000/insp ector/resources/xhr-exists.html 20 console-fetch-logging.html:4 sending a GET request to http://localhost:8000/insp ector/resources/xhr-exists.html
21 console-fetch-logging.html:1 Fetch API cannot load http://localhost:8000/inspect or/resources/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allo wed access. 21 console-fetch-logging.html:1 Fetch API cannot load http://localhost:8000/inspect or/resources/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allo wed access. Alternatively, if you want an opaque response, switch to The Fetch A PI in 'no-cors' mode.
22 console-fetch-logging.html:4 sending a GET request to resources/xhr-exists.html 22 console-fetch-logging.html:4 sending a GET request to resources/xhr-exists.html
23 console-fetch-logging.html:4 sending a GET request to resources/xhr-does-not-exi st.html 23 console-fetch-logging.html:4 sending a GET request to resources/xhr-does-not-exi st.html
24 network-test.js:48 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-ex ist.html 404 (Not Found)makeFetch @ network-test.js:48requestHelper @ console-fe tch-logging.html:11step2 @ console-fetch-logging.html:27 24 network-test.js:48 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-ex ist.html 404 (Not Found)makeFetch @ network-test.js:48requestHelper @ console-fe tch-logging.html:11step2 @ console-fetch-logging.html:27
25 console-fetch-logging.html:4 sending a POST request to resources/post-target.cgi 25 console-fetch-logging.html:4 sending a POST request to resources/post-target.cgi
26 console-fetch-logging.html:4 sending a GET request to http://localhost:8000/insp ector/resources/xhr-exists.html 26 console-fetch-logging.html:4 sending a GET request to http://localhost:8000/insp ector/resources/xhr-exists.html
27 console-fetch-logging.html:1 Fetch API cannot load http://localhost:8000/inspect or/resources/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allo wed access. 27 console-fetch-logging.html:1 Fetch API cannot load http://localhost:8000/inspect or/resources/xhr-exists.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allo wed access. Alternatively, if you want an opaque response, switch to The Fetch A PI in 'no-cors' mode.
28 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698