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

Side by Side Diff: LayoutTests/storage/indexeddb/clone-exception-expected.txt

Issue 19107003: IndexedDB: Log exception messages (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 Ensure DataCloneError is consistently thrown by IndexedDB methods 1 Ensure DataCloneError is consistently thrown by IndexedDB methods
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 = "clone-exception.html" 6 dbname = "clone-exception.html"
7 7
8 doFirstOpen(): 8 doFirstOpen():
9 indexedDB.open(dbname + '1') 9 indexedDB.open(dbname + '1')
10 10
11 onUpgradeNeeded(): 11 onUpgradeNeeded():
12 Expecting exception from db.createObjectStore('store').put(NON_CLONEABLE, 0); 12 Expecting exception from db.createObjectStore('store').put(NON_CLONEABLE, 0);
13 PASS Exception was thrown. 13 PASS Exception was thrown.
14 PASS code is 25 14 PASS code is 25
15 PASS ename is 'DataCloneError' 15 PASS ename is 'DataCloneError'
16 Exception message: An object could not be cloned.
16 17
17 doSecondOpen(): 18 doSecondOpen():
18 indexedDB.open(dbname + '2') 19 indexedDB.open(dbname + '2')
19 20
20 onUpgradeNeeded(): 21 onUpgradeNeeded():
21 Expecting exception from db.createObjectStore('store').put(NON_CLONEABLE, 0); 22 Expecting exception from db.createObjectStore('store').put(NON_CLONEABLE, 0);
22 PASS Exception was thrown. 23 PASS Exception was thrown.
23 PASS code is 25 24 PASS code is 25
24 PASS ename is 'DataCloneError' 25 PASS ename is 'DataCloneError'
26 Exception message: An object could not be cloned.
25 27
26 doThirdOpen(): 28 doThirdOpen():
27 indexedDB.open(dbname + '3') 29 indexedDB.open(dbname + '3')
28 30
29 onUpgradeNeeded(): 31 onUpgradeNeeded():
30 Expecting exception from db.createObjectStore('store').put(NON_CLONEABLE, INVALI D_KEY); 32 Expecting exception from db.createObjectStore('store').put(NON_CLONEABLE, INVALI D_KEY);
31 PASS Exception was thrown. 33 PASS Exception was thrown.
32 PASS code is 25 34 PASS code is 25
33 PASS ename is 'DataCloneError' 35 PASS ename is 'DataCloneError'
36 Exception message: An object could not be cloned.
34 PASS successfullyParsed is true 37 PASS successfullyParsed is true
35 38
36 TEST COMPLETE 39 TEST COMPLETE
37 40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698