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

Unified Diff: LayoutTests/fast/dom/Range/range-detached-exceptions-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-detached-exceptions-expected.txt
diff --git a/LayoutTests/fast/dom/Range/range-detached-exceptions-expected.txt b/LayoutTests/fast/dom/Range/range-detached-exceptions-expected.txt
deleted file mode 100644
index dcb410ae03b4f98648cce5a23ebb58c5d71396df..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Range/range-detached-exceptions-expected.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-A variety of Range methods should throw if called on a detached range.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS range.cloneContents() threw exception InvalidStateError: Failed to execute 'cloneContents' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.cloneRange() threw exception InvalidStateError: Failed to execute 'cloneRange' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.collapsed threw exception InvalidStateError: Failed to read the 'collapsed' property from 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.commonAncestorContainer threw exception InvalidStateError: Failed to read the 'commonAncestorContainer' property from 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.compareBoundaryPoints(Range.START_TO_END, range) threw exception InvalidStateError: Failed to execute 'compareBoundaryPoints' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.comparePoint(document.getElementById('b1'), 1) threw exception InvalidStateError: Failed to execute 'comparePoint' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.createContextualFragment('p') threw exception InvalidStateError: Failed to execute 'createContextualFragment' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.deleteContents() threw exception InvalidStateError: Failed to execute 'deleteContents' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.detach() threw exception InvalidStateError: Failed to execute 'detach' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.endContainer threw exception InvalidStateError: Failed to read the 'endContainer' property from 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.endOffset threw exception InvalidStateError: Failed to read the 'endOffset' property from 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.extractContents() threw exception InvalidStateError: Failed to execute 'extractContents' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.insertNode(document.getElementById('b1')) threw exception InvalidStateError: Failed to execute 'insertNode' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.intersectsNode(document.getElementById('b1')) threw exception InvalidStateError: Failed to execute 'intersectsNode' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.isPointInRange(document.getElementById('b1'), 0) threw exception InvalidStateError: Failed to execute 'isPointInRange' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.selectNode(document.getElementById('b1')) threw exception InvalidStateError: Failed to execute 'selectNode' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.selectNodeContents(document.getElementById('b1')) threw exception InvalidStateError: Failed to execute 'selectNodeContents' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.setEnd(document.getElementById('b1'), 0) threw exception InvalidStateError: Failed to execute 'setEnd' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.setStart(document.getElementById('b1'), 0) threw exception InvalidStateError: Failed to execute 'setStart' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.startContainer threw exception InvalidStateError: Failed to read the 'startContainer' property from 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.startOffset threw exception InvalidStateError: Failed to read the 'startOffset' property from 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.surroundContents(document.getElementById('b1')) threw exception InvalidStateError: Failed to execute 'surroundContents' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS range.toString() threw exception InvalidStateError: Failed to execute 'toString' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698