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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-unsafe-redirect-expected.txt

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added needsrebaseline for win_rel. Created 6 years, 1 month 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 WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck http://xhr.spec.whatwg.org/.
1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8080/xmlhttprequest/r esources/forbidden.txt. No 'Access-Control-Allow-Origin' header is present on th e requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed ac cess. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8080/xmlhttprequest/r esources/forbidden.txt. No 'Access-Control-Allow-Origin' header is present on th e requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed ac cess.
2 This tests that unsafe redirects won't be allowed when making an XMLHttpRequest. 3 This tests that unsafe redirects won't be allowed when making an XMLHttpRequest.
3 Sync XHR started. 4 Sync XHR started.
4 readyState change 1 5 readyState change 1
5 Exception: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/redirect.php?url=http://lo calhost:8080/xmlhttprequest/resources/forbidden.txt'. 6 Exception: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/redirect.php?url=http://lo calhost:8080/xmlhttprequest/resources/forbidden.txt'.
6 Async XHR started. 7 Async XHR started.
7 readyState change 1 8 readyState change 1
8 readyState change 4 9 readyState change 4
9 SUCCESS: Error handler was called with readyState 4 10 SUCCESS: Error handler was called with readyState 4
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698