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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments-expected.txt

Issue 1785663002: Make setBaseAndExtent's arguments non-optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use collapse() where possible (one test) Created 4 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: third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments-expected.txt
index 755a35e6d238144a658de52639df229d6af159f5..3c41d1fd3c87446e6213326b97df4fde9398672a 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/Selection/missing-arguments-expected.txt
@@ -1,6 +1,10 @@
PASS selection.addRange() threw exception TypeError: Failed to execute 'addRange' on 'Selection': 1 argument required, but only 0 present..
PASS selection.getRangeAt() threw exception TypeError: Failed to execute 'getRangeAt' on 'Selection': 1 argument required, but only 0 present..
PASS selection.selectAllChildren() threw exception TypeError: Failed to execute 'selectAllChildren' on 'Selection': 1 argument required, but only 0 present..
+PASS selection.setBaseAndExtent() threw exception TypeError: Failed to execute 'setBaseAndExtent' on 'Selection': 4 arguments required, but only 0 present..
+PASS selection.setBaseAndExtent(node) threw exception TypeError: Failed to execute 'setBaseAndExtent' on 'Selection': 4 arguments required, but only 1 present..
+PASS selection.setBaseAndExtent(node, 0) threw exception TypeError: Failed to execute 'setBaseAndExtent' on 'Selection': 4 arguments required, but only 2 present..
+PASS selection.setBaseAndExtent(node, 0, node) threw exception TypeError: Failed to execute 'setBaseAndExtent' on 'Selection': 4 arguments required, but only 3 present..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698