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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-sync-no-progress-events-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:8000/xmlhttprequest /xmlhttprequest-sync-vs-async-assertion-failure.html. No 'Access-Control-Allow-O rigin' header is present on the requested resource. Origin 'http://127.0.0.1:800 0' is therefore not allowed access. 1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest /xmlhttprequest-sync-vs-async-assertion-failure.html. No 'Access-Control-Allow-O rigin' header is present on the requested resource. Origin 'http://127.0.0.1:800 0' is therefore not allowed access.
2 Test for: 2 Test for:
3 3
4 bug 40996: Progress event should not be fired during synchronous XMLHttpRequest; 4 bug 40996: Progress event should not be fired during synchronous XMLHttpRequest;
5 bug 17502: Assertion failure when trying to restart a sync XMLHttpRequest as an async one from onreadystatechange. 5 bug 17502: Assertion failure when trying to restart a sync XMLHttpRequest as an async one from onreadystatechange.
6 Step 1: Same origin request 6 Step 1: Same origin request
7 readystatechange 4 7 readystatechange 4
8 load 8 load
9 loadend 9 loadend
10 10
11 Step 2: Cross origin request, disallowed 11 Step 2: Cross origin request, disallowed
12 readystatechange 4
13 error
14 loadend
15 NetworkError: A network error occurred. 12 NetworkError: A network error occurred.
16 13
17 Step 3: Cross origin request, allowed 14 Step 3: Cross origin request, allowed
18 readystatechange 4 15 readystatechange 4
19 load 16 load
20 loadend 17 loadend
21 18
22 Step 4: Cross origin request, check that preflight isn't attempted 19 Step 4: Cross origin request, check that preflight isn't attempted
23 readystatechange 4 20 readystatechange 4
24 load 21 load
25 loadend 22 loadend
26 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698