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

Unified Diff: LayoutTests/fast/dom/Range/resources/intersectsNode.js

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/resources/intersectsNode.js
diff --git a/LayoutTests/fast/dom/Range/resources/intersectsNode.js b/LayoutTests/fast/dom/Range/resources/intersectsNode.js
index 56df9a92fcc151447ddee8bcec3a48bd39a6d8e2..ae0c1d73d2d7b46d55690799a743a37935c4e87e 100644
--- a/LayoutTests/fast/dom/Range/resources/intersectsNode.js
+++ b/LayoutTests/fast/dom/Range/resources/intersectsNode.js
@@ -95,7 +95,7 @@ debug("");
debug("2.1 Detached Range, attached node");
var detachedRange = document.createRange();
detachedRange.detach();
-shouldThrow("detachedRange.intersectsNode(document.getElementById('a1'))", '"Error: InvalidStateError: DOM Exception 11"');
+shouldThrow("detachedRange.intersectsNode(document.getElementById('a1'))", '"InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable."');
debug("");
debug("2.2 attached range, detached node");
« no previous file with comments | « LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt ('k') | LayoutTests/fast/dom/Range/script-tests/31684.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698