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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/zero-length-response-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/http/tests/xmlhttprequest/zero-length-response-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/zero-length-response-expected.txt b/LayoutTests/http/tests/xmlhttprequest/zero-length-response-expected.txt
index 8fb53f60f43eb53b0597c7fd58355093f973a8c6..f1b955f5725e6a41287066a513de8c95ddbfa267 100644
--- a/LayoutTests/http/tests/xmlhttprequest/zero-length-response-expected.txt
+++ b/LayoutTests/http/tests/xmlhttprequest/zero-length-response-expected.txt
@@ -8,14 +8,14 @@ after creation: Uninitialized
  ResponseXML serialized: n/a
after setting onreadystatechange: Uninitialized
onreadystatechange: Open
-  Exception getting status: An attempt was made to use an object that is not, or is no longer, usable.
-  Exception getting StatusText: An attempt was made to use an object that is not, or is no longer, usable.
+  Exception getting status: Failed to read the 'status' property from 'XMLHttpRequest': the object's state must not be OPENED.
+  Exception getting StatusText: Failed to read the 'statusText' property from 'XMLHttpRequest': the object's state must not be OPENED.
  ResponseText: ""
  ResponseXML: null
  ResponseXML serialized: n/a
after open(): Open
-  Exception getting status: An attempt was made to use an object that is not, or is no longer, usable.
-  Exception getting StatusText: An attempt was made to use an object that is not, or is no longer, usable.
+  Exception getting status: Failed to read the 'status' property from 'XMLHttpRequest': the object's state must not be OPENED.
+  Exception getting StatusText: Failed to read the 'statusText' property from 'XMLHttpRequest': the object's state must not be OPENED.
  ResponseText: ""
  ResponseXML: null
  ResponseXML serialized: n/a

Powered by Google App Engine
This is Rietveld 408576698