Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / odd-strings-expected.txt
blob37714178a17d112121f17069f37fb10bb6862dc8
1 Test IndexedDB odd value datatypes
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Deleting all the databases...
7 opening a database named empty string
8 indexedDB.open(testData[nextToOpen].name, 1)
9 objectStore = db.createObjectStore(testData[nextToOpen].name);
10 index = objectStore.createIndex(testData[nextToOpen].name, 'keyPath');
11 key = testData[nextToOpen].name
12 request = objectStore.add(key, key);
13 db.close()
15 opening a database named null
16 indexedDB.open(testData[nextToOpen].name, 1)
17 objectStore = db.createObjectStore(testData[nextToOpen].name);
18 index = objectStore.createIndex(testData[nextToOpen].name, 'keyPath');
19 key = testData[nextToOpen].name
20 request = objectStore.add(key, key);
21 db.close()
23 opening a database named faihu
24 indexedDB.open(testData[nextToOpen].name, 1)
25 objectStore = db.createObjectStore(testData[nextToOpen].name);
26 index = objectStore.createIndex(testData[nextToOpen].name, 'keyPath');
27 key = testData[nextToOpen].name
28 request = objectStore.add(key, key);
29 db.close()
31 opening a database named unpaired surrogate
32 indexedDB.open(testData[nextToOpen].name, 1)
33 objectStore = db.createObjectStore(testData[nextToOpen].name);
34 index = objectStore.createIndex(testData[nextToOpen].name, 'keyPath');
35 key = testData[nextToOpen].name
36 request = objectStore.add(key, key);
37 db.close()
39 opening a database named fffe
40 indexedDB.open(testData[nextToOpen].name, 1)
41 objectStore = db.createObjectStore(testData[nextToOpen].name);
42 index = objectStore.createIndex(testData[nextToOpen].name, 'keyPath');
43 key = testData[nextToOpen].name
44 request = objectStore.add(key, key);
45 db.close()
47 opening a database named ffff
48 indexedDB.open(testData[nextToOpen].name, 1)
49 objectStore = db.createObjectStore(testData[nextToOpen].name);
50 index = objectStore.createIndex(testData[nextToOpen].name, 'keyPath');
51 key = testData[nextToOpen].name
52 request = objectStore.add(key, key);
53 db.close()
55 opening a database named line separator
56 indexedDB.open(testData[nextToOpen].name, 1)
57 objectStore = db.createObjectStore(testData[nextToOpen].name);
58 index = objectStore.createIndex(testData[nextToOpen].name, 'keyPath');
59 key = testData[nextToOpen].name
60 request = objectStore.add(key, key);
61 db.close()
63 reopening a database named empty string
64 indexedDB.open(testData[nextToOpen].name, 2)
65 trans = event.target.transaction
66 objectStore = trans.objectStore(testData[nextToOpen].name);
67 key = testData[nextToOpen].name
68 request = objectStore.openCursor();
69 cursor = event.target.result;
70 PASS cursor.key is testData[nextToOpen].name
71 PASS cursor.value is testData[nextToOpen].name
73 reopening a database named null
74 indexedDB.open(testData[nextToOpen].name, 2)
75 trans = event.target.transaction
76 objectStore = trans.objectStore(testData[nextToOpen].name);
77 key = testData[nextToOpen].name
78 request = objectStore.openCursor();
79 cursor = event.target.result;
80 PASS cursor.key is testData[nextToOpen].name
81 PASS cursor.value is testData[nextToOpen].name
83 reopening a database named faihu
84 indexedDB.open(testData[nextToOpen].name, 2)
85 trans = event.target.transaction
86 objectStore = trans.objectStore(testData[nextToOpen].name);
87 key = testData[nextToOpen].name
88 request = objectStore.openCursor();
89 cursor = event.target.result;
90 PASS cursor.key is testData[nextToOpen].name
91 PASS cursor.value is testData[nextToOpen].name
93 reopening a database named unpaired surrogate
94 indexedDB.open(testData[nextToOpen].name, 2)
95 trans = event.target.transaction
96 objectStore = trans.objectStore(testData[nextToOpen].name);
97 key = testData[nextToOpen].name
98 request = objectStore.openCursor();
99 cursor = event.target.result;
100 PASS cursor.key is testData[nextToOpen].name
101 PASS cursor.value is testData[nextToOpen].name
103 reopening a database named fffe
104 indexedDB.open(testData[nextToOpen].name, 2)
105 trans = event.target.transaction
106 objectStore = trans.objectStore(testData[nextToOpen].name);
107 key = testData[nextToOpen].name
108 request = objectStore.openCursor();
109 cursor = event.target.result;
110 PASS cursor.key is testData[nextToOpen].name
111 PASS cursor.value is testData[nextToOpen].name
113 reopening a database named ffff
114 indexedDB.open(testData[nextToOpen].name, 2)
115 trans = event.target.transaction
116 objectStore = trans.objectStore(testData[nextToOpen].name);
117 key = testData[nextToOpen].name
118 request = objectStore.openCursor();
119 cursor = event.target.result;
120 PASS cursor.key is testData[nextToOpen].name
121 PASS cursor.value is testData[nextToOpen].name
123 reopening a database named line separator
124 indexedDB.open(testData[nextToOpen].name, 2)
125 trans = event.target.transaction
126 objectStore = trans.objectStore(testData[nextToOpen].name);
127 key = testData[nextToOpen].name
128 request = objectStore.openCursor();
129 cursor = event.target.result;
130 PASS cursor.key is testData[nextToOpen].name
131 PASS cursor.value is testData[nextToOpen].name
132 PASS successfullyParsed is true
134 TEST COMPLETE