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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException.html

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.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException.html b/LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException.html
index df239bdd15f570668df6ff9bd625d93ce43aa4f5..51ebf55d92936f8a0dc84a1e92d974a35ba65a9a 100644
--- a/LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException.html
+++ b/LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException.html
@@ -1,6 +1,6 @@
<html>
<body>
-<p>Tests the properties of the XMLHttpRequestException object.</p>
+<p>Tests the properties of XMLHttpRequest exceptions.</p>
<pre id="console"></pre>
<script>
function shouldBeEqualToString(__a, __b)
@@ -43,13 +43,13 @@
e = err;
}
- shouldBeEqualToString("e.toString()", "Error: NETWORK_ERR: XMLHttpRequest Exception 101");
- shouldBeEqualToString("Object.prototype.toString.call(e)", "[object XMLHttpRequestException]");
- shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object XMLHttpRequestException]");
- shouldBeEqualToString("e.constructor.toString()", "[object XMLHttpRequestExceptionConstructor]");
- shouldBe("e.constructor", "window.XMLHttpRequestException");
+ shouldBeEqualToString("e.toString()", "Error: NetworkError: DOM Exception 19");
+ shouldBeEqualToString("Object.prototype.toString.call(e)", "[object DOMException]");
+ shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object DOMException]");
+ shouldBeEqualToString("e.constructor.toString()", "[object DOMExceptionConstructor]");
+ shouldBe("e.constructor", "window.DOMException");
shouldBe("e.NETWORK_ERR", "e.constructor.NETWORK_ERR");
- shouldBe("e.NETWORK_ERR", "101");
+ shouldBe("e.NETWORK_ERR", "19");
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698