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

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

Issue 21364003: Make CharacterData.appendData() argument mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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-expected.txt
diff --git a/LayoutTests/fast/dom/characterdata-appendData-argument-expected.txt b/LayoutTests/fast/dom/characterdata-appendData-argument-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..712168977fca0b191e3aabecbfb481316423272c
--- /dev/null
+++ b/LayoutTests/fast/dom/characterdata-appendData-argument-expected.txt
@@ -0,0 +1,15 @@
+Tests that CharacterData.appendData() argument is mandatory.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS text.data is 'abcd'
+PASS text.__proto__.__proto__ is CharacterData.prototype
+PASS text.appendData('efg') did not throw exception.
+PASS text.data is 'abcdefg'
+PASS text.appendData() threw exception TypeError: Not enough arguments.
+PASS text.data is 'abcdefg'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698