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

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

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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/text-api-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/text-api-arguments-expected.txt b/LayoutTests/fast/dom/text-api-arguments-expected.txt
index 0390592c4963c0cad7c134da1039738dbee9a914..0ba3d739816dd57fd97e09caf83fa0db7a3cc102 100644
--- a/LayoutTests/fast/dom/text-api-arguments-expected.txt
+++ b/LayoutTests/fast/dom/text-api-arguments-expected.txt
@@ -7,7 +7,7 @@ PASS text.data is "abcdefg"
PASS text.__proto__ is Text.prototype
PASS text.splitText(4).data is "efg"
PASS text.data is "abcd"
-PASS text.splitText() threw exception TypeError: Not enough arguments.
+PASS text.splitText() threw exception TypeError: Failed to execute 'splitText' on 'Text': 1 argument required, but only 0 present..
PASS text.data is "abcd"
PASS text.splitText(999) threw exception IndexSizeError: Failed to execute 'splitText' on 'Text': The offset 999 is larger than the Text node's length..
PASS text.data is "abcd"
@@ -19,7 +19,7 @@ PASS text.replaceWholeText('test') is text
PASS text.data is "test"
PASS text.replaceWholeText('') is null
PASS text.data is "test"
-PASS text.replaceWholeText() threw exception TypeError: Not enough arguments.
+PASS text.replaceWholeText() threw exception TypeError: Failed to execute 'replaceWholeText' on 'Text': 1 argument required, but only 0 present..
PASS text.data is "test"
PASS text.replaceWholeText(null) is text
PASS text.data is "null"
« no previous file with comments | « LayoutTests/fast/dom/text-api-arguments.html ('k') | LayoutTests/fast/events/clipboard-dataTransferItemList-remove.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698