blob: 2abc9bf709e36519ba04addbaf02c35baa748bc1 [file] [log] [blame]
Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled.
Message count: 3
console-xhr-logging.js:13 sending a GET request to resources/xhr-exists.html
VM:31 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
makeXHR @ VM:31
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ console-xhr-logging.js:20
VM:37 XHR finished loading: GET "http://127.0.0.1:8000/devtools/resources/xhr-exists.html".
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ console-xhr-logging.js:20
Message count: 3
console-xhr-logging.js:13 sending a GET request to resources/xhr-does-not-exist.html
VM:37 GET http://127.0.0.1:8000/devtools/resources/xhr-does-not-exist.html 404 (Not Found)
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ console-xhr-logging.js:26
VM:37 XHR failed loading: GET "http://127.0.0.1:8000/devtools/resources/xhr-does-not-exist.html".
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ console-xhr-logging.js:26
Message count: 2
console-xhr-logging.js:13 sending a POST request to resources/post-target.cgi
VM:37 XHR finished loading: POST "http://127.0.0.1:8000/devtools/resources/post-target.cgi".
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ VM:1
Message count: 4
console-xhr-logging.js:13 sending a GET request to http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html
VM:37 Access to XMLHttpRequest at 'http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ VM:1
VM:37 GET http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html net::ERR_FAILED
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ VM:1
VM:37 XHR failed loading: GET "http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html".
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ VM:1
Message count: 1
console-xhr-logging.js:13 sending a GET request to resources/xhr-exists.html
Message count: 2
console-xhr-logging.js:13 sending a GET request to resources/xhr-does-not-exist.html
VM:37 GET http://127.0.0.1:8000/devtools/resources/xhr-does-not-exist.html 404 (Not Found)
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ VM:1
Message count: 1
console-xhr-logging.js:13 sending a POST request to resources/post-target.cgi
Message count: 3
console-xhr-logging.js:13 sending a GET request to http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html
VM:37 Access to XMLHttpRequest at 'http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ VM:1
VM:37 GET http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html net::ERR_FAILED
makeXHR @ VM:37
makeSimpleXHRWithPayload @ VM:13
makeSimpleXHR @ VM:9
requestHelper @ console-xhr-logging.js:14
(anonymous) @ VM:1