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/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-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 This tests that the XMLHttpRequest responseType attribute is not modifiable for synchronous HTTP(S) requests. 2 This tests that the XMLHttpRequest responseType attribute is not modifiable for synchronous HTTP(S) requests.
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 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document.. 7 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document..
7 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document.. 8 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document..
8 PASS window.location.protocol is "file:" 9 PASS window.location.protocol is "file:"
9 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document.. 10 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document..
10 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document.. 11 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document..
11 PASS successfullyParsed is true 12 PASS successfullyParsed is true
12 13
13 TEST COMPLETE 14 TEST COMPLETE
14 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698