Index: LayoutTests/fast/dom/text-api-arguments.html |
diff --git a/LayoutTests/fast/dom/text-api-arguments.html b/LayoutTests/fast/dom/text-api-arguments.html |
index e39a02237054ad02d0246336d5a70d5ddaaf1741..67703c4ea15d16fa58d8bb3c0e16c2ee74031079 100644 |
--- a/LayoutTests/fast/dom/text-api-arguments.html |
+++ b/LayoutTests/fast/dom/text-api-arguments.html |
@@ -23,19 +23,6 @@ shouldThrow("text.splitText(-1)", '"IndexSizeError: Failed to execute \'splitTex |
shouldBeEqualToString("text.data", "abcd"); |
shouldBeEqualToString("text.splitText(-4294967294).data", "cd"); // Wraps to 2, which is a valid offset. |
shouldBeEqualToString("text.data", "ab"); |
- |
-// Text replaceWholeText(DOMString content) |
-text.data = "abcdefg"; |
-shouldBe("text.replaceWholeText('test')", "text"); |
-shouldBeEqualToString("text.data", "test"); |
-shouldBeNull("text.replaceWholeText('')"); |
-shouldBeEqualToString("text.data", "test"); |
-shouldThrow("text.replaceWholeText()", '"TypeError: Failed to execute \'replaceWholeText\' on \'Text\': 1 argument required, but only 0 present."'); |
-shouldBeEqualToString("text.data", "test"); |
-shouldBe("text.replaceWholeText(null)", "text"); |
-shouldBeEqualToString("text.data", "null"); |
-shouldBe("text.replaceWholeText(undefined)", "text"); |
-shouldBeEqualToString("text.data", "undefined"); |
</script> |
</body> |
</html> |