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

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

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.html
diff --git a/LayoutTests/fast/dom/Range/range-detached-exceptions.html b/LayoutTests/fast/dom/Range/range-detached-exceptions.html
index 47f5c36927be3caa668f6e39b9a889f923e9eb4f..672918f66513f3b1c110fb0c401a1b9102612832 100644
--- a/LayoutTests/fast/dom/Range/range-detached-exceptions.html
+++ b/LayoutTests/fast/dom/Range/range-detached-exceptions.html
@@ -38,11 +38,11 @@
shouldThrow("range.extractContents()", execute("extractContents"));
shouldThrow("range.insertNode(document.getElementById('b1'))", execute("insertNode"));
shouldThrow("range.intersectsNode(document.getElementById('b1'))", execute("intersectsNode"));
- shouldThrow("range.isPointInRange(document.getElementById('b1'))", execute("isPointInRange"));
+ shouldThrow("range.isPointInRange(document.getElementById('b1'), 0)", execute("isPointInRange"));
shouldThrow("range.selectNode(document.getElementById('b1'))", execute("selectNode"));
shouldThrow("range.selectNodeContents(document.getElementById('b1'))", execute("selectNodeContents"));
- shouldThrow("range.setEnd(document.getElementById('b1'))", execute("setEnd"));
- shouldThrow("range.setStart(document.getElementById('b1'))", execute("setStart"));
+ shouldThrow("range.setEnd(document.getElementById('b1'), 0)", execute("setEnd"));
+ shouldThrow("range.setStart(document.getElementById('b1'), 0)", execute("setStart"));
shouldThrow("range.startContainer", read("startContainer"));
shouldThrow("range.startOffset", read("startOffset"));
shouldThrow("range.surroundContents(document.getElementById('b1'))", execute("surroundContents"));

Powered by Google App Engine
This is Rietveld 408576698