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

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

Issue 1317593005: Indexed DB: Remove vendor prefix removal from tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
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 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7
8 dbname = "intversion-bad-parameters.html" 6 dbname = "intversion-bad-parameters.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 8
11 deleteSuccess(): 9 deleteSuccess():
12 Expecting TypeError exception from indexedDB.open(dbname, 'stringversion') 10 Expecting TypeError exception from indexedDB.open(dbname, 'stringversion')
13 PASS Exception was thrown. 11 PASS Exception was thrown.
14 PASS indexedDB.open(dbname, 'stringversion') threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is not of type 'unsigned long long'. 12 PASS indexedDB.open(dbname, 'stringversion') threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is not of type 'unsigned long long'.
15 Expecting TypeError exception from indexedDB.open(dbname, 0) 13 Expecting TypeError exception from indexedDB.open(dbname, 0)
16 PASS Exception was thrown. 14 PASS Exception was thrown.
17 PASS indexedDB.open(dbname, 0) threw TypeError: Failed to execute 'open' on 'IDB Factory': The version provided must not be 0. 15 PASS indexedDB.open(dbname, 0) threw TypeError: Failed to execute 'open' on 'IDB Factory': The version provided must not be 0.
(...skipping 18 matching lines...) Expand all
36 Expecting TypeError exception from indexedDB.open(dbname, null) 34 Expecting TypeError exception from indexedDB.open(dbname, null)
37 PASS Exception was thrown. 35 PASS Exception was thrown.
38 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.
39 Expecting TypeError exception from indexedDB.open(dbname, undefined) 37 Expecting TypeError exception from indexedDB.open(dbname, undefined)
40 PASS Exception was thrown. 38 PASS Exception was thrown.
41 PASS indexedDB.open(dbname, undefined) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is not of type 'unsigned long long'. 39 PASS indexedDB.open(dbname, undefined) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is not of type 'unsigned long long'.
42 PASS successfullyParsed is true 40 PASS successfullyParsed is true
43 41
44 TEST COMPLETE 42 TEST COMPLETE
45 43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698