Index: LayoutTests/fast/dom/node-iterator-with-doctype-root.html |
diff --git a/LayoutTests/fast/dom/node-iterator-with-doctype-root.html b/LayoutTests/fast/dom/node-iterator-with-doctype-root.html |
index 08b36eb7a3507cdada5956843cfb130917b2cb95..acb8b1ed169b5dbf78e3258ae028ee898ddc719b 100644 |
--- a/LayoutTests/fast/dom/node-iterator-with-doctype-root.html |
+++ b/LayoutTests/fast/dom/node-iterator-with-doctype-root.html |
@@ -7,7 +7,7 @@ |
var dt = document.implementation.createDocumentType("foo", "", ""); |
var iter = document.createNodeIterator(dt, NodeFilter.SHOW_ALL, null, true); |
debug("NodeIterator rooted at a DocumentType node not yet associated with a document:"); |
-shouldBe('iter.referenceNode.ownerDocument', 'null'); |
+shouldBe('iter.referenceNode.ownerDocument', 'document'); |
shouldBe('iter.nextNode()', 'dt'); |
shouldBe('iter.nextNode()', 'null'); |
shouldBe('iter.previousNode()', 'dt'); |