Index: LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html |
diff --git a/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html b/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html |
index 8faaaab3a263f28ed1cc7c093daa880e00dc68fa..a3d7f84acb3cc02fa50cd0bcc11ba35e266a283c 100644 |
--- a/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html |
+++ b/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html |
@@ -135,7 +135,7 @@ shouldBe('document.body.getAttributeNode("id").childNodes.length', '1'); |
debug("\n15. Changing Attr.nodeValue."); |
attrNode.nodeValue = "foo"; |
-attrNode.firstChild.replaceWholeText("j"); |
+attrNode.firstChild.data = "j"; |
shouldBe('document.getElementById("hi")', 'null'); |
shouldBe('document.getElementById("j")', 'document.body'); |
shouldBe('document.body.id', '"j"'); |