Index: LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html |
diff --git a/LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html b/LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html |
index 553ce5649c32bc3c7ed4ccdcb8b606b9e16fab4f..f21aad6b461153fee5cd65ef89cab02d6e7ff86b 100644 |
--- a/LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html |
+++ b/LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html |
@@ -18,9 +18,9 @@ |
function runTest() |
{ |
- iteratorRoot = document.createElement(); |
- element = iteratorRoot.appendChild(document.createElement()); |
- element.appendChild(document.createElement()); |
+ iteratorRoot = document.createElement('div'); |
+ element = iteratorRoot.appendChild(document.createElement('div')); |
+ element.appendChild(document.createElement('div')); |
iterator = document.createNodeIterator(iteratorRoot, -1); |
iterator.nextNode(); iterator.nextNode(); iterator.nextNode(); |