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

Unified Diff: LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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-intersectsNode-expected.txt
diff --git a/LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt b/LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt
index c0faa0f1bf977e45005ccd118c2dfcef99b96261..8910ad0f5244cc0baf0fd65c463a0ebe10f08d3c 100644
--- a/LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt
+++ b/LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt
@@ -44,22 +44,22 @@ PASS intersects is true
PASS intersects is true
2.1 Detached Range, attached node
-PASS detachedRange.intersectsNode(document.getElementById('a1')) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS detachedRange.intersectsNode(document.getElementById('a1')) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
2.2 attached range, detached node
PASS intersects is false
2.3 Node has no parent
-PASS range.intersectsNode(document) threw exception Error: NotFoundError: DOM Exception 8.
+PASS range.intersectsNode(document) threw exception NotFoundError: An attempt was made to reference a Node in a context where it does not exist..
2.4 Range has no parent
-PASS range.selectNode(document) threw exception Error: InvalidNodeTypeError: DOM Exception 24.
+PASS range.selectNode(document) threw exception InvalidNodeTypeError: The supplied node is invalid or has an invalid ancestor for this operation..
2.5 Wrong documents
PASS intersects is false
2.6 Node deleted
-PASS range.intersectsNode(node) threw exception Error: NotFoundError: DOM Exception 8.
+PASS range.intersectsNode(node) threw exception NotFoundError: An attempt was made to reference a Node in a context where it does not exist..
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698