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

Unified Diff: LayoutTests/fast/dom/Range/range-compareNode.html

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/Range/range-compareNode.html
diff --git a/LayoutTests/fast/dom/Range/range-compareNode.html b/LayoutTests/fast/dom/Range/range-compareNode.html
index 407a5febcdc4b6f083bbb7db23f56ff09dd79753..a174f2560457f3139bc4d8abd6c1f68ebc72ed5c 100644
--- a/LayoutTests/fast/dom/Range/range-compareNode.html
+++ b/LayoutTests/fast/dom/Range/range-compareNode.html
@@ -152,7 +152,7 @@ function test()
try {
range.selectNode(document);
} catch (e) {
- if(e.code == RangeException.INVALID_NODE_TYPE_ERR) {
+ if(e.code == DOMException.INVALID_NODE_TYPE_ERR) {
document.getElementById("test17").innerHTML = "test 17 passed: the range has no parent";
} else {
document.getElementById("test17").innerHTML = "<span style=\"color: red;\">test 17 failed error: " + e.message + "\n Code: " + e.code +"</span>";

Powered by Google App Engine
This is Rietveld 408576698