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

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

Issue 22875013: Make several DOMImplementation API arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix createDocument() args Created 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/zoom-on-unattached.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « no previous file | LayoutTests/fast/css/zoom-on-unattached.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698