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 79545dde81b0e0af081a8dc332fac3bc9f429341..596c07013595f369a0049543f751ec8c1f91d3e1 100644 |
--- a/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js |
+++ b/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js |
@@ -1,7 +1,7 @@ |
description("Test to check if setBaseAndExtent guard node with null owner document (Bug 31680)"); |
var sel = window.getSelection(); |
-var docType = document.implementation.createDocumentType('c'); |
+var docType = document.implementation.createDocumentType('c', null, null); |
sel.setBaseAndExtent(docType); |
shouldBeNull("sel.anchorNode"); |