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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-document-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 Tests XMLHttpRequest 'document' loading with the .responseType and .response att ributes. 1 Tests XMLHttpRequest 'document' loading with the .responseType and .response att ributes.
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 PASS responseType property exists. 5 PASS responseType property exists.
6 PASS response property exists. 6 PASS response property exists.
7 PASS xhr.responseType has been correctly set to 'document'. 7 PASS xhr.responseType has been correctly set to 'document'.
8 PASS DONE LOADING 8 PASS DONE LOADING
9 PASS received response object of type : object. 9 PASS received response object of type : object.
10 PASS exception correctly thrown when xhr.responseType is set to valid value too late in the loading process : InvalidStateError: Failed to set the 'responseType ' property on 'XMLHttpRequest': the response type cannot be set if the object's state is LOADING or DONE.. 10 PASS exception correctly thrown when xhr.responseType is set to valid value too late in the loading process : InvalidStateError: Failed to set the 'responseType ' property on 'XMLHttpRequest': The response type cannot be set if the object's state is LOADING or DONE..
11 PASS xhr.response is a Document. 11 PASS xhr.response is a Document.
12 PASS xhr.response == xhr.responseXML. 12 PASS xhr.response == xhr.responseXML.
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