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

Unified Diff: LayoutTests/fast/dom/characterdata-api-arguments-expected.txt

Issue 21675003: CharacterData.substringData() arguments should be mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplify link tag 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-api-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/characterdata-api-arguments-expected.txt b/LayoutTests/fast/dom/characterdata-api-arguments-expected.txt
index 2e75e451248de24f7735af469aa13f41f5c1522a..11ccd9f143a6c58ccd4d07fe6cba829ae0b9214d 100644
--- a/LayoutTests/fast/dom/characterdata-api-arguments-expected.txt
+++ b/LayoutTests/fast/dom/characterdata-api-arguments-expected.txt
@@ -50,7 +50,10 @@ PASS text.data is "abtestcdefg"
PASS text.replaceData(1, 999, 'aaa') did not throw exception.
PASS text.data is "aaaa"
PASS text.substringData(4, 3) is "efg"
+PASS text.substringData() threw exception TypeError: Not enough arguments.
+PASS text.substringData(0) threw exception TypeError: Not enough arguments.
PASS text.substringData(4, 999) is "efg"
+PASS text.substringData(4, -1) is "efg"
PASS text.substringData(-1, 2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS text.substringData(-4294967294, 3) is "cde"
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698