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

Side by Side Diff: third_party/WebKit/LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt

Issue 1476863003: bindings: Ignores the last undefined arguments when counting the args. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed a review comment. Created 5 years 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 unified diff | Download patch
OLDNEW
1 Test that bad version parameters cause TypeError 1 Test that bad version parameters cause TypeError
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 dbname = "intversion-bad-parameters.html" 6 dbname = "intversion-bad-parameters.html"
7 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
8 8
9 deleteSuccess(): 9 deleteSuccess():
10 Expecting TypeError exception from indexedDB.open(dbname, 'stringversion') 10 Expecting TypeError exception from indexedDB.open(dbname, 'stringversion')
(...skipping 16 matching lines...) Expand all
27 PASS indexedDB.open(dbname, NaN) threw TypeError: Failed to execute 'open' on 'I DBFactory': Value is not of type 'unsigned long long'. 27 PASS indexedDB.open(dbname, NaN) threw TypeError: Failed to execute 'open' on 'I DBFactory': Value is not of type 'unsigned long long'.
28 Expecting TypeError exception from indexedDB.open(dbname, -1) 28 Expecting TypeError exception from indexedDB.open(dbname, -1)
29 PASS Exception was thrown. 29 PASS Exception was thrown.
30 PASS indexedDB.open(dbname, -1) threw TypeError: Failed to execute 'open' on 'ID BFactory': Value is outside the 'unsigned long long' value range. 30 PASS indexedDB.open(dbname, -1) threw TypeError: Failed to execute 'open' on 'ID BFactory': Value is outside the 'unsigned long long' value range.
31 Expecting TypeError exception from indexedDB.open(dbname, 0x20000000000000) 31 Expecting TypeError exception from indexedDB.open(dbname, 0x20000000000000)
32 PASS Exception was thrown. 32 PASS Exception was thrown.
33 PASS indexedDB.open(dbname, 0x20000000000000) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range. 33 PASS indexedDB.open(dbname, 0x20000000000000) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range.
34 Expecting TypeError exception from indexedDB.open(dbname, null) 34 Expecting TypeError exception from indexedDB.open(dbname, null)
35 PASS Exception was thrown. 35 PASS Exception was thrown.
36 PASS indexedDB.open(dbname, null) threw TypeError: Failed to execute 'open' on ' IDBFactory': The version provided must not be 0. 36 PASS indexedDB.open(dbname, null) threw TypeError: Failed to execute 'open' on ' IDBFactory': The version provided must not be 0.
37 Expecting TypeError exception from indexedDB.open(dbname, undefined) 37 PASS indexedDB.open(dbname, undefined) did not throw exception.
38 PASS Exception was thrown.
39 PASS indexedDB.open(dbname, undefined) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is not of type 'unsigned long long'.
40 PASS successfullyParsed is true 38 PASS successfullyParsed is true
41 39
42 TEST COMPLETE 40 TEST COMPLETE
43 41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698