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/fast/dom/node-move-to-new-document-crash-main.html

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
Index: LayoutTests/fast/dom/node-move-to-new-document-crash-main.html
diff --git a/LayoutTests/fast/dom/node-move-to-new-document-crash-main.html b/LayoutTests/fast/dom/node-move-to-new-document-crash-main.html
index 42cc97c30e5295d3b9a4f748f13f0f746f9bac8e..651fc293b6116a8c1adf4fab260bd56b6c73fc93 100755
--- a/LayoutTests/fast/dom/node-move-to-new-document-crash-main.html
+++ b/LayoutTests/fast/dom/node-move-to-new-document-crash-main.html
@@ -13,7 +13,7 @@ function runTest()
{
root = document.getElementById('root').contentDocument;
test = root.getElementById('test');
- var doc = document.implementation.createDocument();
+ var doc = document.implementation.createDocument(null, '');
doc.adoptNode(test);
test.appendChild(root.getElementById('svg').cloneNode(0));
document.open();

Powered by Google App Engine
This is Rietveld 408576698