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

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

Issue 23964014: Improve exception messages for detached Range objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline. Created 7 years, 3 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-expected.txt
diff --git a/LayoutTests/fast/dom/Range/range-intersectsNode-exception-expected.txt b/LayoutTests/fast/dom/Range/range-intersectsNode-exception-expected.txt
index fd36e4adcd1d28f2ad515305930da12c77b48b11..669516db9849debe8fa20fb8428ab28052516d53 100644
--- a/LayoutTests/fast/dom/Range/range-intersectsNode-exception-expected.txt
+++ b/LayoutTests/fast/dom/Range/range-intersectsNode-exception-expected.txt
@@ -3,7 +3,7 @@ Test for Bug: 75799 - Calling intersectsNode on a detached range should throw
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS range.intersectsNode(document.getElementById('b1')) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS range.intersectsNode(document.getElementById('b1')) threw exception InvalidStateError: Failed to execute 'intersectsNode' on 'Range': The range has no container. Perhaps 'detatch()' has been invoked on this object?.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698