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

Unified Diff: LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js

Issue 1308663003: The node and allowPartialContainment arguments for Selection API should not be optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/editing/selection/script-tests/DOMSelection-DocumentType.js
diff --git a/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js b/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js
index d44f417b258c06a0f2d196af2b56e0e7a6265ced..c70aadbf7e625d693c5eccf33d1471982bd29635 100644
--- a/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js
+++ b/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js
@@ -17,9 +17,9 @@ shouldBeNull("sel.anchorNode");
sel.extend(docType, 0);
shouldBeNull("sel.anchorNode");
-sel.containsNode(docType);
+sel.containsNode(docType, false);
shouldBeNull("sel.anchorNode");
-shouldBeFalse("sel.containsNode(docType)");
+shouldBeFalse("sel.containsNode(docType, false)");
var successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698