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

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

Issue 1259393002: DevTools: add support for logging fetch requests when XHR logging is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed the test 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
(Empty)
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
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
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.
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
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
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.
11 Tests that fetch logging works when XMLHttpRequest Logging is Enabled and doesn' t show logs when it is Disabled.
12
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
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
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
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
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.
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
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
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.
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698