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

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

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated patch with reset -expected.txt files. Created 6 years, 2 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: Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni ng.
2 CONSOLE WARNING: Setting 'XMLHttpRequest.withCredentials' for synchronous reques ts is deprecated. 3 CONSOLE WARNING: Setting 'XMLHttpRequest.withCredentials' for synchronous reques ts is deprecated.
3 CONSOLE MESSAGE: line 10: sending a %s request to %s 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 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.
7 CONSOLE MESSAGE: line 10: sending a %s request to %s 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 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.
12 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.
13 14
14 console-xhr-logging.html:10 sending a GET request to resources/xhr-exists.html 15 console-xhr-logging.html:10 sending a GET request to resources/xhr-exists.html
16 network-test.js:97 Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-war ning.
15 network-test.js:98 Setting 'XMLHttpRequest.withCredentials' for synchronous requ ests is deprecated. 17 network-test.js:98 Setting 'XMLHttpRequest.withCredentials' for synchronous requ ests is deprecated.
16 network-test.js:101 XHR finished loading: GET "http://127.0.0.1:8000/inspector/r esources/xhr-exists.html". 18 network-test.js:101 XHR finished loading: GET "http://127.0.0.1:8000/inspector/r esources/xhr-exists.html".
17 console-xhr-logging.html:10 sending a GET request to resources/xhr-does-not-exis t.html 19 console-xhr-logging.html:10 sending a GET request to resources/xhr-does-not-exis t.html
18 network-test.js:101 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-e xist.html 404 (Not Found) 20 network-test.js:101 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-e xist.html 404 (Not Found)
19 network-test.js:101 XHR finished loading: GET "http://127.0.0.1:8000/inspector/r esources/xhr-does-not-exist.html". 21 network-test.js:101 XHR finished loading: GET "http://127.0.0.1:8000/inspector/r esources/xhr-does-not-exist.html".
20 console-xhr-logging.html:10 sending a POST request to resources/post-target.cgi 22 console-xhr-logging.html:10 sending a POST request to resources/post-target.cgi
21 network-test.js:101 XHR finished loading: POST "http://127.0.0.1:8000/inspector/ resources/post-target.cgi". 23 network-test.js:101 XHR finished loading: POST "http://127.0.0.1:8000/inspector/ resources/post-target.cgi".
22 console-xhr-logging.html:10 sending a GET request to http://localhost:8000/inspe ctor/resources/xhr-exists.html 24 console-xhr-logging.html:10 sending a GET request to http://localhost:8000/inspe ctor/resources/xhr-exists.html
23 network-test.js:101 XMLHttpRequest cannot load http://localhost:8000/inspector/r esources/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. 25 network-test.js:101 XMLHttpRequest cannot load http://localhost:8000/inspector/r esources/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.
24 console-xhr-logging.html:10 sending a GET request to resources/xhr-exists.html 26 console-xhr-logging.html:10 sending a GET request to resources/xhr-exists.html
25 console-xhr-logging.html:10 sending a GET request to resources/xhr-does-not-exis t.html 27 console-xhr-logging.html:10 sending a GET request to resources/xhr-does-not-exis t.html
26 network-test.js:101 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-e xist.html 404 (Not Found) 28 network-test.js:101 GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-e xist.html 404 (Not Found)
27 console-xhr-logging.html:10 sending a POST request to resources/post-target.cgi 29 console-xhr-logging.html:10 sending a POST request to resources/post-target.cgi
28 console-xhr-logging.html:10 sending a GET request to http://localhost:8000/inspe ctor/resources/xhr-exists.html 30 console-xhr-logging.html:10 sending a GET request to http://localhost:8000/inspe ctor/resources/xhr-exists.html
29 network-test.js:101 XMLHttpRequest cannot load http://localhost:8000/inspector/r esources/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. 31 network-test.js:101 XMLHttpRequest cannot load http://localhost:8000/inspector/r esources/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.
30 32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698