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

Unified Diff: LayoutTests/fast/forms/setCustomValidity-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/forms/setCustomValidity-arguments-expected.txt
diff --git a/LayoutTests/fast/forms/setCustomValidity-arguments-expected.txt b/LayoutTests/fast/forms/setCustomValidity-arguments-expected.txt
index 45a9bca2e8493a362abf88ce359a6812d6b37c43..b41db7f5a748dad002c748b4fea15af3af2d7168 100644
--- a/LayoutTests/fast/forms/setCustomValidity-arguments-expected.txt
+++ b/LayoutTests/fast/forms/setCustomValidity-arguments-expected.txt
@@ -3,10 +3,10 @@ Test how setCustomValidity reacts to too few arguments.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS b.setCustomValidity() threw exception TypeError: Not enough arguments.
-PASS fs.setCustomValidity() threw exception TypeError: Not enough arguments.
-PASS i.setCustomValidity() threw exception TypeError: Not enough arguments.
-PASS k.setCustomValidity() threw exception TypeError: Not enough arguments.
+PASS b.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLButtonElement': 1 argument required, but only 0 present..
+PASS fs.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLFieldSetElement': 1 argument required, but only 0 present..
+PASS i.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLInputElement': 1 argument required, but only 0 present..
+PASS k.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLKeygenElement': 1 argument required, but only 0 present..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/forms/ValidityState-customError-expected.txt ('k') | LayoutTests/fast/js/resources/select-options-remove.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698