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

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

Issue 252783002: Make Range.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 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-intersectsNode-expected.txt
diff --git a/LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt b/LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt
index 51be971b6166250b04df9b2663408685efd1de9e..f656935a7378f7d373d3abacd5f5eff7289c34b7 100644
--- a/LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt
+++ b/LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt
@@ -1,3 +1,4 @@
+CONSOLE WARNING: 'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-range-detach).
This test checks the behavior of the intersectsNode() method on the Range object.
It covers all configurations of the node/Range relationship and some exception conditions.
@@ -44,7 +45,7 @@ PASS intersects is true
PASS intersects is true
2.1 Detached Range, attached node
-PASS detachedRange.intersectsNode(document.getElementById('a1')) threw exception InvalidStateError: Failed to execute 'intersectsNode' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
+PASS detachedRange.intersectsNode(document.getElementById('a1')) is false
2.2 attached range, detached node
PASS intersects is false

Powered by Google App Engine
This is Rietveld 408576698