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

Unified Diff: LayoutTests/fast/dom/characterdata-appendData-argument.html

Issue 21542002: Make CharacterData::insertData() / deleteData() / replaceData() arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline fast/dom/characterdata-appendData-argument.html Created 7 years, 5 months 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/characterdata-appendData-argument.html
diff --git a/LayoutTests/fast/dom/characterdata-appendData-argument.html b/LayoutTests/fast/dom/characterdata-appendData-argument.html
deleted file mode 100644
index cc42604ad1156bc12233fe5592d1904079e06ec5..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/characterdata-appendData-argument.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-32791A2F" />
-<script src="../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<script>
-description("Tests that CharacterData.appendData() argument is mandatory.");
-
-var text = document.createTextNode("abcd");
-shouldBeEqualToString("text.data", "abcd");
-shouldBe("text.__proto__.__proto__", "CharacterData.prototype");
-shouldNotThrow("text.appendData('efg')");
-shouldBeEqualToString("text.data", "abcdefg");
-shouldThrow("text.appendData()", "'TypeError: Not enough arguments'"); // Missing argument.
-shouldBeEqualToString("text.data", "abcdefg");
-</script>
-<script src="../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698