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

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

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-exception.html
diff --git a/LayoutTests/fast/dom/Range/range-intersectsNode-exception.html b/LayoutTests/fast/dom/Range/range-intersectsNode-exception.html
index 9fda0debf5057946a16574a8829d520f135769b4..25344310f443836b47b10e8b135bbedacccd9e1f 100644
--- a/LayoutTests/fast/dom/Range/range-intersectsNode-exception.html
+++ b/LayoutTests/fast/dom/Range/range-intersectsNode-exception.html
@@ -15,7 +15,7 @@ description("Test for Bug: 75799 - Calling intersectsNode on a detached range sh
var range = document.createRange();
range.selectNode(document.getElementById("a1"));
range.detach();
-shouldThrow("range.intersectsNode(document.getElementById('b1'))", '"Error: InvalidStateError: DOM Exception 11"');
+shouldThrow("range.intersectsNode(document.getElementById('b1'))", '"InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable."');
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>

Powered by Google App Engine
This is Rietveld 408576698