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

Unified Diff: LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html

Issue 733943004: Remove Text.replaceWholeText() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month 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/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"');

Powered by Google App Engine
This is Rietveld 408576698