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(); |