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

Unified Diff: LayoutTests/fast/dom/DOMException/resources/RangeException.js

Issue 14705009: Remove RangeException interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectation 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/fast/dom/DOMException/resources/RangeException.js
diff --git a/LayoutTests/fast/dom/DOMException/resources/RangeException.js b/LayoutTests/fast/dom/DOMException/resources/RangeException.js
deleted file mode 100644
index 6d602f7596121ae9bf35f349b5c4bbfd717fd718..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/DOMException/resources/RangeException.js
+++ /dev/null
@@ -1,18 +0,0 @@
-description("Tests the properties of the RangeException object.")
-
-var e;
-try {
- document.createRange().setStartAfter(document, 0);
- // raises INVALID_NODE_TYPE_ERR
-} catch (err) {
- e = err;
-}
-
-shouldBeEqualToString("e.toString()", "Error: INVALID_NODE_TYPE_ERR: DOM Range Exception 2");
-shouldBeEqualToString("Object.prototype.toString.call(e)", "[object RangeException]");
-shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object RangeExceptionPrototype]");
-shouldBeEqualToString("e.constructor.toString()", "[object RangeExceptionConstructor]");
-shouldBe("e.constructor", "window.RangeException");
-shouldBe("e.INVALID_NODE_TYPE_ERR", "e.constructor.INVALID_NODE_TYPE_ERR");
-shouldBe("e.BAD_BOUNDARYPOINTS_ERR", "1");
-shouldBe("e.INVALID_NODE_TYPE_ERR", "2");
« no previous file with comments | « LayoutTests/fast/dom/DOMException/RangeException-expected.txt ('k') | LayoutTests/fast/dom/Range/range-compareNode.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698