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

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

Issue 108063005: Make arguments to Range methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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
index 4ab18043cdb81154a2fe3f8acdc5da4aad976361..78787b1fc2d34d4a5b17874f8cadf63a4f7dff79 100644
--- a/LayoutTests/fast/dom/Range/range-detached-exceptions-expected.txt
+++ b/LayoutTests/fast/dom/Range/range-detached-exceptions-expected.txt
@@ -17,11 +17,11 @@ PASS range.endOffset threw exception InvalidStateError: Failed to read the 'endO
PASS range.extractContents() threw exception InvalidStateError: Failed to execute 'extractContents' on 'Range': The range has no container. Perhaps 'detatch()' 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 'detatch()' 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 'detatch()' has been invoked on this object?.
-PASS range.isPointInRange(document.getElementById('b1')) threw exception InvalidStateError: Failed to execute 'isPointInRange' on 'Range': The range has no container. Perhaps 'detatch()' 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 'detatch()' 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 'detatch()' 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 'detatch()' has been invoked on this object?.
-PASS range.setEnd(document.getElementById('b1')) threw exception InvalidStateError: Failed to execute 'setEnd' on 'Range': The range has no container. Perhaps 'detatch()' has been invoked on this object?.
-PASS range.setStart(document.getElementById('b1')) threw exception InvalidStateError: Failed to execute 'setStart' on 'Range': The range has no container. Perhaps 'detatch()' 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 'detatch()' 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 'detatch()' 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 'detatch()' 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 'detatch()' 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 'detatch()' has been invoked on this object?.

Powered by Google App Engine
This is Rietveld 408576698