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

Unified Diff: LayoutTests/storage/indexeddb/keyrange-required-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/storage/indexeddb/keyrange-required-arguments-expected.txt
diff --git a/LayoutTests/storage/indexeddb/keyrange-required-arguments-expected.txt b/LayoutTests/storage/indexeddb/keyrange-required-arguments-expected.txt
index 1850fb67c6958c6987cc79ebfa15413994293355..54f1dafb26bdb7ad96df1da6152336cc23485992 100644
--- a/LayoutTests/storage/indexeddb/keyrange-required-arguments-expected.txt
+++ b/LayoutTests/storage/indexeddb/keyrange-required-arguments-expected.txt
@@ -5,11 +5,11 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
-PASS IDBKeyRange.only(); threw exception TypeError: Not enough arguments.
-PASS IDBKeyRange.lowerBound(); threw exception TypeError: Not enough arguments.
-PASS IDBKeyRange.upperBound(); threw exception TypeError: Not enough arguments.
-PASS IDBKeyRange.bound(1); threw exception TypeError: Not enough arguments.
-PASS IDBKeyRange.bound(); threw exception TypeError: Not enough arguments.
+PASS IDBKeyRange.only(); threw exception TypeError: Failed to execute 'only' on 'IDBKeyRange': 1 argument required, but only 0 present..
+PASS IDBKeyRange.lowerBound(); threw exception TypeError: Failed to execute 'lowerBound' on 'IDBKeyRange': 1 argument required, but only 0 present..
+PASS IDBKeyRange.upperBound(); threw exception TypeError: Failed to execute 'upperBound' on 'IDBKeyRange': 1 argument required, but only 0 present..
+PASS IDBKeyRange.bound(1); threw exception TypeError: Failed to execute 'bound' on 'IDBKeyRange': 2 arguments required, but only 1 present..
+PASS IDBKeyRange.bound(); threw exception TypeError: Failed to execute 'bound' on 'IDBKeyRange': 2 arguments required, but only 0 present..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698