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

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

Issue 23041002: Improve 'XMLHttpRequest' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ExceptionMessages. Created 7 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 | Annotate | Revision Log
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: An attempt was made to use an o bject that is not, or is no longer, usable.. 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