| Index: LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt
|
| diff --git a/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt b/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt
|
| index a1cfa2a783e623cf0aa0e096e07c2188ff2d53e8..f87d2fd8e37f5a5c6c7c783435e825f207afa9ac 100644
|
| --- a/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt
|
| +++ b/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt
|
| @@ -4,12 +4,12 @@ CONSOLE WARNING: Setting 'XMLHttpRequest.withCredentials' for synchronous reques
|
| CONSOLE MESSAGE: line 10: sending a %s request to %s
|
| CONSOLE MESSAGE: line 10: sending a %s request to %s
|
| CONSOLE MESSAGE: line 10: sending a %s request to %s
|
| -CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/inspector/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 allowed access.
|
| +CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/inspector/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 allowed access. Alternatively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode.
|
| CONSOLE MESSAGE: line 10: sending a %s request to %s
|
| CONSOLE MESSAGE: line 10: sending a %s request to %s
|
| CONSOLE MESSAGE: line 10: sending a %s request to %s
|
| CONSOLE MESSAGE: line 10: sending a %s request to %s
|
| -CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/inspector/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 allowed access.
|
| +CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/inspector/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 allowed access. Alternatively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode.
|
| Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled.
|
|
|
| console-xhr-logging.html:5 sending a GET request to resources/xhr-exists.html
|
| @@ -22,12 +22,12 @@ network-test.js:37 XHR finished loading: GET "http://127.0.0.1:8000/inspector/re
|
| console-xhr-logging.html:5 sending a POST request to resources/post-target.cgi
|
| network-test.js:37 XHR finished loading: POST "http://127.0.0.1:8000/inspector/resources/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
|
| console-xhr-logging.html:5 sending a GET request to http://localhost:8000/inspector/resources/xhr-exists.html
|
| -network-test.js:37 XMLHttpRequest cannot load http://localhost:8000/inspector/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 allowed access.makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-logging.html:6makeRequests @ console-xhr-logging.html:18(anonymous function) @ VM:1
|
| +network-test.js:37 XMLHttpRequest cannot load http://localhost:8000/inspector/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 allowed access. Alternatively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode.makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-logging.html:6makeRequests @ console-xhr-logging.html:18(anonymous function) @ VM:1
|
| network-test.js:37 XHR failed loading: GET "http://localhost:8000/inspector/resources/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:18(anonymous function) @ VM:1
|
| console-xhr-logging.html:5 sending a GET request to resources/xhr-exists.html
|
| console-xhr-logging.html:5 sending a GET request to resources/xhr-does-not-exist.html
|
| network-test.js:37 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-exist.html 404 (Not Found)makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-logging.html:6makeRequests @ console-xhr-logging.html:14(anonymous function) @ VM:1
|
| console-xhr-logging.html:5 sending a POST request to resources/post-target.cgi
|
| console-xhr-logging.html:5 sending a GET request to http://localhost:8000/inspector/resources/xhr-exists.html
|
| -network-test.js:37 XMLHttpRequest cannot load http://localhost:8000/inspector/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 allowed access.makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-logging.html:6makeRequests @ console-xhr-logging.html:18(anonymous function) @ VM:1
|
| +network-test.js:37 XMLHttpRequest cannot load http://localhost:8000/inspector/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 allowed access. Alternatively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode.makeXHR @ network-test.js:37makeSimpleXHRWithPayload @ network-test.js:16makeSimpleXHR @ network-test.js:11requestHelper @ console-xhr-logging.html:6makeRequests @ console-xhr-logging.html:18(anonymous function) @ VM:1
|
|
|
|
|