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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-sync-no-progress-events-expected.txt

Issue 1018903002: Show deprecation warnings for header values in XHR according to RFC 7230 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 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 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/.
2 CONSOLE WARNING: isValidHTTPHeaderValue() will be deprecated and will be removed in future.
2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/x mlhttprequest-sync-vs-async-assertion-failure.html. No 'Access-Control-Allow-Ori gin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 3 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/x mlhttprequest-sync-vs-async-assertion-failure.html. No 'Access-Control-Allow-Ori gin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
3 Test for: 4 Test for:
4 5
5 bug 40996: Progress event should not be fired during synchronous XMLHttpRequest; 6 bug 40996: Progress event should not be fired during synchronous XMLHttpRequest;
6 bug 17502: Assertion failure when trying to restart a sync XMLHttpRequest as an async one from onreadystatechange. 7 bug 17502: Assertion failure when trying to restart a sync XMLHttpRequest as an async one from onreadystatechange.
7 Step 1: Same origin request 8 Step 1: Same origin request
8 readystatechange 4 9 readystatechange 4
9 load 10 load
10 loadend 11 loadend
11 12
12 Step 2: Cross origin request, disallowed 13 Step 2: Cross origin request, disallowed
13 NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http ://localhost:8000/xmlhttprequest/xmlhttprequest-sync-vs-async-assertion-failure. html'. 14 NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http ://localhost:8000/xmlhttprequest/xmlhttprequest-sync-vs-async-assertion-failure. html'.
14 15
15 Step 3: Cross origin request, allowed 16 Step 3: Cross origin request, allowed
16 readystatechange 4 17 readystatechange 4
17 load 18 load
18 loadend 19 loadend
19 20
20 Step 4: Cross origin request, check that preflight isn't attempted 21 Step 4: Cross origin request, check that preflight isn't attempted
21 readystatechange 4 22 readystatechange 4
22 load 23 load
23 loadend 24 loadend
24 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698