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

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

Issue 14200030: Remove XMLHttpRequestException in favor of DOMException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests after rebasing... Created 7 years, 8 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/XMLHttpRequestException-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt b/LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt
index 83984ca6afe238263ac0bc018242dc9be08e4b66..2f1f0596080adf4b729a2b276462a3b7abf2e6df 100644
--- a/LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt
+++ b/LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt
@@ -1,10 +1,10 @@
-Tests the properties of the XMLHttpRequestException object.
+Tests the properties of XMLHttpRequest exceptions.
-PASS e.toString() is "Error: NETWORK_ERR: XMLHttpRequest Exception 101"
-PASS Object.prototype.toString.call(e) is "[object XMLHttpRequestException]"
-FAIL Object.prototype.toString.call(e.__proto__) is not "[object XMLHttpRequestException]". Was "[object Object]"
-FAIL e.constructor.toString() is not "[object XMLHttpRequestExceptionConstructor]". Was "function XMLHttpRequestException() { [native code] }"
-PASS e.constructor is window.XMLHttpRequestException
+PASS e.toString() is "Error: NetworkError: DOM Exception 19"
+PASS Object.prototype.toString.call(e) is "[object DOMException]"
+FAIL Object.prototype.toString.call(e.__proto__) is not "[object DOMException]". Was "[object DOMExceptionPrototype]"
+PASS e.constructor.toString() is "[object DOMExceptionConstructor]"
+PASS e.constructor is window.DOMException
PASS e.NETWORK_ERR is e.constructor.NETWORK_ERR
PASS e.NETWORK_ERR is 101

Powered by Google App Engine
This is Rietveld 408576698