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

Unified Diff: LayoutTests/fast/forms/change-form-element-document-crash.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/forms/change-form-element-document-crash.html
diff --git a/LayoutTests/fast/forms/change-form-element-document-crash.html b/LayoutTests/fast/forms/change-form-element-document-crash.html
index 03d9fddb6cddce68ed4f947d6e170f7400baf455..47e425796112750dc94a96b85e62a18fccdbbe0e 100644
--- a/LayoutTests/fast/forms/change-form-element-document-crash.html
+++ b/LayoutTests/fast/forms/change-form-element-document-crash.html
@@ -17,7 +17,7 @@ function crash_test(element_name) {
element.setAttribute('form', '1');
var container = document.createElement('div');
container.appendChild(element);
- document.implementation.createDocument().adoptNode(container);
+ document.implementation.createDocument(null, '').adoptNode(container);
container.removeChild(element);
delete element;
gc();

Powered by Google App Engine
This is Rietveld 408576698