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

Unified Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received-expected.txt
diff --git a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received-expected.txt b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received-expected.txt
index d3aab6767d56ea16e615233ec135df8a80362a63..74014f9767019c94e8fed1f21d192d0dd9c29948 100644
--- a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received-expected.txt
+++ b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received-expected.txt
@@ -4,8 +4,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
xhr.responseType = 'document';
-PASS xhr.responseType = 'text'; threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
-PASS xhr.responseType = 'text'; threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS xhr.responseType = 'text'; threw exception InvalidStateError: Failed to set the 'responseType' property on 'XMLHttpRequest': the response type cannot be set if the object's state is LOADING or DONE..
+PASS xhr.responseType = 'text'; threw exception InvalidStateError: Failed to set the 'responseType' property on 'XMLHttpRequest': the response type cannot be set if the object's state is LOADING or DONE..
PASS xhr.response === xhr.responseXML is true
PASS xhr.responseType is "document"
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698