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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt

Issue 96793002: Switch custom XMLHttpRequest bindings over to new-style ExceptionState. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Inline local binding in throwTypeError() Created 7 years 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 This tests that the XMLHttpRequest responseType attribute is not modifiable for synchronous HTTP(S) requests. 1 This tests that the XMLHttpRequest responseType attribute is not modifiable for synchronous HTTP(S) requests.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': the response type can onl y be changed for asynchronous HTTP requests made from a document.. 6 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': The response type can onl y be changed for asynchronous HTTP 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 can onl y be changed for asynchronous HTTP 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 can onl y be changed for asynchronous HTTP requests made from a document..
8 PASS window.location.protocol is "file:" 8 PASS window.location.protocol is "file:"
9 xhr.responseType = 'document'; 9 xhr.responseType = 'document';
10 PASS xhr.responseType is "document" 10 PASS xhr.responseType is "document"
11 xhr.responseType = 'document'; 11 xhr.responseType = 'document';
12 PASS xhr.responseType is "document" 12 PASS xhr.responseType is "document"
13 PASS successfullyParsed is true 13 PASS successfullyParsed is true
14 14
15 TEST COMPLETE 15 TEST COMPLETE
16 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698