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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/access-control-allow-lists-starting-with-comma-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 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.
1 Allow lists starting with a comma should be parsed correctly. 2 Allow lists starting with a comma should be parsed correctly.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 Sending GET request with custom headers. 7 Sending GET request with custom headers.
7 PASS xhr.send(null) is undefined. 8 PASS xhr.send(null) is undefined.
8 PASS response['x-print'] is "unicorn" 9 PASS response['x-print'] is "unicorn"
9 PASS response['y-print'] is "narwhal" 10 PASS response['y-print'] is "narwhal"
10 Sending PUT request. 11 Sending PUT request.
11 PASS xhr.send(null) is undefined. 12 PASS xhr.send(null) is undefined.
12 PASS successfullyParsed is true 13 PASS successfullyParsed is true
13 14
14 TEST COMPLETE 15 TEST COMPLETE
15 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698