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

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

Issue 24225002: Don't dispatch events when XHR is set to sync mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert change on network-preflight-options.html Created 7 years, 3 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: XMLHttpRequest cannot load http://localhost:8080/xmlhttprequest /resources/forbidden.txt. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8080/xmlhttprequest /resources/forbidden.txt. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
2 This tests that unsafe redirects won't be allowed when making an XMLHttpRequest. 2 This tests that unsafe redirects won't be allowed when making an XMLHttpRequest.
3 Sync XHR started. 3 Sync XHR started.
4 readyState change 1 4 readyState change 1
5 readyState change 4
6 Error event.
7 Exception: NetworkError: A network error occurred. 5 Exception: NetworkError: A network error occurred.
8 Async XHR started. 6 Async XHR started.
9 readyState change 1 7 readyState change 1
10 readyState change 4 8 readyState change 4
11 SUCCESS: Error handler was called with readyState 4 9 SUCCESS: Error handler was called with readyState 4
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698