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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/exceptions-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt b/LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt
index 2c1eab15d8565c28caa7dff4a0e55981d3b2909d..e559709327368ccd05b3c9865e0b5ca14266ae32 100644
--- a/LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt
+++ b/LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt
@@ -1,16 +1,16 @@
Test that XMLHttpRequest raises exceptions when it should.
new XMLHttpRequest()
-PASS: req.setRequestHeader("Foo", "bar") threw exception Error: InvalidStateError: DOM Exception 11.
-PASS: req.send(null) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS: req.send(null) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
open()
PASS: req.setRequestHeader() threw exception TypeError: Not enough arguments.
PASS: req.setRequestHeader("Foo") threw exception TypeError: Not enough arguments.
-PASS: req.status() threw exception Error: InvalidStateError: DOM Exception 11.
-PASS: req.statusText() threw exception Error: InvalidStateError: DOM Exception 11.
+PASS: req.status() threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS: req.statusText() threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
send()
-PASS: req.send(null) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS: req.setRequestHeader("Foo", "bar") threw exception Error: InvalidStateError: DOM Exception 11.
+PASS: req.send(null) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS: req.getResponseHeader() threw exception TypeError: Not enough arguments.
PASS: req.open() threw exception TypeError: Not enough arguments.
PASS: req.open(null) threw exception TypeError: Not enough arguments.

Powered by Google App Engine
This is Rietveld 408576698