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

Unified Diff: LayoutTests/platform/chromium-mac/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/platform/chromium-mac/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt
diff --git a/LayoutTests/platform/chromium-mac/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt b/LayoutTests/platform/chromium-mac/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1841f7685d886e7f23f5d967ad0006c5247dc5ef
--- /dev/null
+++ b/LayoutTests/platform/chromium-mac/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt
@@ -0,0 +1,10 @@
+Tests the properties of XMLHttpRequest exceptions.
+
+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 Object]"
+FAIL e.constructor.toString() is not "[object DOMExceptionConstructor]". Was "function DOMException() { [native code] }"
+PASS e.constructor is window.DOMException
+PASS e.NETWORK_ERR is e.constructor.NETWORK_ERR
+PASS e.NETWORK_ERR is 19
+

Powered by Google App Engine
This is Rietveld 408576698