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

Unified Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-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/fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-expected.txt
diff --git a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-expected.txt b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-expected.txt
index 54fae9fd7e395800713b1f2502be4a07fd83b0e9..9e45a010579cc26ffa983674442c860a42082e13 100644
--- a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-expected.txt
+++ b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-expected.txt
@@ -15,14 +15,14 @@ PASS 'arraybuffer' .response does not exist when .readyState is 3.
PASS 'arraybuffer' .response exists when .readyState is 4.
PASS DONE LOADING
PASS received response object : [object ArrayBuffer].
-PASS exception correctly thrown when xhr.responseType is set to valid value too late in the loading process : Error: InvalidStateError: DOM Exception 11.
+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 object that is not, or is no longer, usable..
response length : 670184.
bytes at offset 0 : 46 4f 52 4d 0 a 39 e0
bytes at offset 356874 : a 91 f 5f 8 2f e fd
bytes at offset 670166 : 8 be 3 c 6 91 2 8
checksum : 84637740
-PASS exception correctly thrown when xhr.responseText is accessed but responseType is 'arraybuffer' : Error: InvalidStateError: DOM Exception 11.
-PASS exception correctly thrown when xhr.responseXML is accessed but responseType is 'arraybuffer' : Error: InvalidStateError: DOM Exception 11.
+PASS exception correctly thrown when xhr.responseText is accessed but responseType is 'arraybuffer' : InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS exception correctly thrown when xhr.responseXML is accessed but responseType is 'arraybuffer' : InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS xhr.response.foo is 'bar'
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698