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

Side by Side Diff: LayoutTests/storage/indexeddb/cursor-continue-validity-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 Test IndexedDB's IDBCursor.continue() behavior when called beyond normal scope. 1 Test IndexedDB's IDBCursor.continue() behavior when called beyond normal scope.
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; 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 7
8 dbname = "cursor-continue-validity.html" 8 dbname = "cursor-continue-validity.html"
9 indexedDB.deleteDatabase(dbname) 9 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 10 indexedDB.open(dbname)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 cursor = event.target.result 47 cursor = event.target.result
48 Checking value at 0 48 Checking value at 0
49 PASS cursor.key is 0 49 PASS cursor.key is 0
50 PASS cursor.value.x is 0 50 PASS cursor.value.x is 0
51 cursor.continue() 51 cursor.continue()
52 PASS cursor.key is 0 52 PASS cursor.key is 0
53 PASS cursor.value.x is 0 53 PASS cursor.value.x is 0
54 Expecting exception from cursor.continue() 54 Expecting exception from cursor.continue()
55 PASS Exception was thrown. 55 PASS Exception was thrown.
56 PASS code is DOMException.INVALID_STATE_ERR 56 PASS code is DOMException.INVALID_STATE_ERR
57 Exception message: The cursor is being iterated or has iterated past its end.
57 PASS cursor.key is 0 58 PASS cursor.key is 0
58 PASS cursor.value.x is 0 59 PASS cursor.value.x is 0
59 self.continueValue++; 60 self.continueValue++;
60 doubleContinueCallback() 61 doubleContinueCallback()
61 cursor = event.target.result 62 cursor = event.target.result
62 Checking value at 1 63 Checking value at 1
63 PASS cursor.key is 1 64 PASS cursor.key is 1
64 PASS cursor.value.x is 1 65 PASS cursor.value.x is 1
65 cursor.continue() 66 cursor.continue()
66 PASS cursor.key is 1 67 PASS cursor.key is 1
67 PASS cursor.value.x is 1 68 PASS cursor.value.x is 1
68 Expecting exception from cursor.continue() 69 Expecting exception from cursor.continue()
69 PASS Exception was thrown. 70 PASS Exception was thrown.
70 PASS code is DOMException.INVALID_STATE_ERR 71 PASS code is DOMException.INVALID_STATE_ERR
72 Exception message: The cursor is being iterated or has iterated past its end.
71 PASS cursor.key is 1 73 PASS cursor.key is 1
72 PASS cursor.value.x is 1 74 PASS cursor.value.x is 1
73 self.continueValue++; 75 self.continueValue++;
74 doubleContinueCallback() 76 doubleContinueCallback()
75 cursor = event.target.result 77 cursor = event.target.result
76 Checking value at 2 78 Checking value at 2
77 PASS cursor.key is 2 79 PASS cursor.key is 2
78 PASS cursor.value.x is 2 80 PASS cursor.value.x is 2
79 cursor.continue() 81 cursor.continue()
80 PASS cursor.key is 2 82 PASS cursor.key is 2
81 PASS cursor.value.x is 2 83 PASS cursor.value.x is 2
82 Expecting exception from cursor.continue() 84 Expecting exception from cursor.continue()
83 PASS Exception was thrown. 85 PASS Exception was thrown.
84 PASS code is DOMException.INVALID_STATE_ERR 86 PASS code is DOMException.INVALID_STATE_ERR
87 Exception message: The cursor is being iterated or has iterated past its end.
85 PASS cursor.key is 2 88 PASS cursor.key is 2
86 PASS cursor.value.x is 2 89 PASS cursor.value.x is 2
87 self.continueValue++; 90 self.continueValue++;
88 doubleContinueCallback() 91 doubleContinueCallback()
89 cursor = event.target.result 92 cursor = event.target.result
90 Checking value at 3 93 Checking value at 3
91 PASS cursor.key is 3 94 PASS cursor.key is 3
92 PASS cursor.value.x is 3 95 PASS cursor.value.x is 3
93 cursor.continue() 96 cursor.continue()
94 PASS cursor.key is 3 97 PASS cursor.key is 3
95 PASS cursor.value.x is 3 98 PASS cursor.value.x is 3
96 Expecting exception from cursor.continue() 99 Expecting exception from cursor.continue()
97 PASS Exception was thrown. 100 PASS Exception was thrown.
98 PASS code is DOMException.INVALID_STATE_ERR 101 PASS code is DOMException.INVALID_STATE_ERR
102 Exception message: The cursor is being iterated or has iterated past its end.
99 PASS cursor.key is 3 103 PASS cursor.key is 3
100 PASS cursor.value.x is 3 104 PASS cursor.value.x is 3
101 self.continueValue++; 105 self.continueValue++;
102 doubleContinueCallback() 106 doubleContinueCallback()
103 cursor = event.target.result 107 cursor = event.target.result
104 Checking value at 4 108 Checking value at 4
105 PASS cursor.key is 4 109 PASS cursor.key is 4
106 PASS cursor.value.x is 4 110 PASS cursor.value.x is 4
107 cursor.continue() 111 cursor.continue()
108 PASS cursor.key is 4 112 PASS cursor.key is 4
109 PASS cursor.value.x is 4 113 PASS cursor.value.x is 4
110 Expecting exception from cursor.continue() 114 Expecting exception from cursor.continue()
111 PASS Exception was thrown. 115 PASS Exception was thrown.
112 PASS code is DOMException.INVALID_STATE_ERR 116 PASS code is DOMException.INVALID_STATE_ERR
117 Exception message: The cursor is being iterated or has iterated past its end.
113 PASS cursor.key is 4 118 PASS cursor.key is 4
114 PASS cursor.value.x is 4 119 PASS cursor.value.x is 4
115 self.continueValue++; 120 self.continueValue++;
116 doubleContinueCallback() 121 doubleContinueCallback()
117 cursor = event.target.result 122 cursor = event.target.result
118 Checking value at 5 123 Checking value at 5
119 PASS cursor.key is 5 124 PASS cursor.key is 5
120 PASS cursor.value.x is 5 125 PASS cursor.value.x is 5
121 cursor.continue() 126 cursor.continue()
122 PASS cursor.key is 5 127 PASS cursor.key is 5
123 PASS cursor.value.x is 5 128 PASS cursor.value.x is 5
124 Expecting exception from cursor.continue() 129 Expecting exception from cursor.continue()
125 PASS Exception was thrown. 130 PASS Exception was thrown.
126 PASS code is DOMException.INVALID_STATE_ERR 131 PASS code is DOMException.INVALID_STATE_ERR
132 Exception message: The cursor is being iterated or has iterated past its end.
127 PASS cursor.key is 5 133 PASS cursor.key is 5
128 PASS cursor.value.x is 5 134 PASS cursor.value.x is 5
129 self.continueValue++; 135 self.continueValue++;
130 doubleContinueCallback() 136 doubleContinueCallback()
131 cursor = event.target.result 137 cursor = event.target.result
132 Checking value at 6 138 Checking value at 6
133 PASS cursor.key is 6 139 PASS cursor.key is 6
134 PASS cursor.value.x is 6 140 PASS cursor.value.x is 6
135 cursor.continue() 141 cursor.continue()
136 PASS cursor.key is 6 142 PASS cursor.key is 6
137 PASS cursor.value.x is 6 143 PASS cursor.value.x is 6
138 Expecting exception from cursor.continue() 144 Expecting exception from cursor.continue()
139 PASS Exception was thrown. 145 PASS Exception was thrown.
140 PASS code is DOMException.INVALID_STATE_ERR 146 PASS code is DOMException.INVALID_STATE_ERR
147 Exception message: The cursor is being iterated or has iterated past its end.
141 PASS cursor.key is 6 148 PASS cursor.key is 6
142 PASS cursor.value.x is 6 149 PASS cursor.value.x is 6
143 self.continueValue++; 150 self.continueValue++;
144 doubleContinueCallback() 151 doubleContinueCallback()
145 cursor = event.target.result 152 cursor = event.target.result
146 Checking value at 7 153 Checking value at 7
147 PASS cursor.key is 7 154 PASS cursor.key is 7
148 PASS cursor.value.x is 7 155 PASS cursor.value.x is 7
149 cursor.continue() 156 cursor.continue()
150 PASS cursor.key is 7 157 PASS cursor.key is 7
151 PASS cursor.value.x is 7 158 PASS cursor.value.x is 7
152 Expecting exception from cursor.continue() 159 Expecting exception from cursor.continue()
153 PASS Exception was thrown. 160 PASS Exception was thrown.
154 PASS code is DOMException.INVALID_STATE_ERR 161 PASS code is DOMException.INVALID_STATE_ERR
162 Exception message: The cursor is being iterated or has iterated past its end.
155 PASS cursor.key is 7 163 PASS cursor.key is 7
156 PASS cursor.value.x is 7 164 PASS cursor.value.x is 7
157 self.continueValue++; 165 self.continueValue++;
158 doubleContinueCallback() 166 doubleContinueCallback()
159 cursor = event.target.result 167 cursor = event.target.result
160 Checking value at 8 168 Checking value at 8
161 PASS cursor.key is 8 169 PASS cursor.key is 8
162 PASS cursor.value.x is 8 170 PASS cursor.value.x is 8
163 cursor.continue() 171 cursor.continue()
164 PASS cursor.key is 8 172 PASS cursor.key is 8
165 PASS cursor.value.x is 8 173 PASS cursor.value.x is 8
166 Expecting exception from cursor.continue() 174 Expecting exception from cursor.continue()
167 PASS Exception was thrown. 175 PASS Exception was thrown.
168 PASS code is DOMException.INVALID_STATE_ERR 176 PASS code is DOMException.INVALID_STATE_ERR
177 Exception message: The cursor is being iterated or has iterated past its end.
169 PASS cursor.key is 8 178 PASS cursor.key is 8
170 PASS cursor.value.x is 8 179 PASS cursor.value.x is 8
171 self.continueValue++; 180 self.continueValue++;
172 doubleContinueCallback() 181 doubleContinueCallback()
173 cursor = event.target.result 182 cursor = event.target.result
174 Checking value at 9 183 Checking value at 9
175 PASS cursor.key is 9 184 PASS cursor.key is 9
176 PASS cursor.value.x is 9 185 PASS cursor.value.x is 9
177 cursor.continue() 186 cursor.continue()
178 PASS cursor.key is 9 187 PASS cursor.key is 9
179 PASS cursor.value.x is 9 188 PASS cursor.value.x is 9
180 Expecting exception from cursor.continue() 189 Expecting exception from cursor.continue()
181 PASS Exception was thrown. 190 PASS Exception was thrown.
182 PASS code is DOMException.INVALID_STATE_ERR 191 PASS code is DOMException.INVALID_STATE_ERR
192 Exception message: The cursor is being iterated or has iterated past its end.
183 PASS cursor.key is 9 193 PASS cursor.key is 9
184 PASS cursor.value.x is 9 194 PASS cursor.value.x is 9
185 self.continueValue++; 195 self.continueValue++;
186 doubleContinueCallback() 196 doubleContinueCallback()
187 cursor = event.target.result 197 cursor = event.target.result
188 Checking value at 10 198 Checking value at 10
189 PASS cursor.key is 10 199 PASS cursor.key is 10
190 PASS cursor.value.x is 10 200 PASS cursor.value.x is 10
191 cursor.continue() 201 cursor.continue()
192 PASS cursor.key is 10 202 PASS cursor.key is 10
193 PASS cursor.value.x is 10 203 PASS cursor.value.x is 10
194 Expecting exception from cursor.continue() 204 Expecting exception from cursor.continue()
195 PASS Exception was thrown. 205 PASS Exception was thrown.
196 PASS code is DOMException.INVALID_STATE_ERR 206 PASS code is DOMException.INVALID_STATE_ERR
207 Exception message: The cursor is being iterated or has iterated past its end.
197 PASS cursor.key is 10 208 PASS cursor.key is 10
198 PASS cursor.value.x is 10 209 PASS cursor.value.x is 10
199 self.continueValue++; 210 self.continueValue++;
200 doubleContinueCallback() 211 doubleContinueCallback()
201 cursor = event.target.result 212 cursor = event.target.result
202 Checking value at 11 213 Checking value at 11
203 PASS cursor.key is 11 214 PASS cursor.key is 11
204 PASS cursor.value.x is 11 215 PASS cursor.value.x is 11
205 cursor.continue() 216 cursor.continue()
206 PASS cursor.key is 11 217 PASS cursor.key is 11
207 PASS cursor.value.x is 11 218 PASS cursor.value.x is 11
208 Expecting exception from cursor.continue() 219 Expecting exception from cursor.continue()
209 PASS Exception was thrown. 220 PASS Exception was thrown.
210 PASS code is DOMException.INVALID_STATE_ERR 221 PASS code is DOMException.INVALID_STATE_ERR
222 Exception message: The cursor is being iterated or has iterated past its end.
211 PASS cursor.key is 11 223 PASS cursor.key is 11
212 PASS cursor.value.x is 11 224 PASS cursor.value.x is 11
213 self.continueValue++; 225 self.continueValue++;
214 doubleContinueCallback() 226 doubleContinueCallback()
215 cursor = event.target.result 227 cursor = event.target.result
216 Checking value at 12 228 Checking value at 12
217 PASS cursor.key is 12 229 PASS cursor.key is 12
218 PASS cursor.value.x is 12 230 PASS cursor.value.x is 12
219 cursor.continue() 231 cursor.continue()
220 PASS cursor.key is 12 232 PASS cursor.key is 12
221 PASS cursor.value.x is 12 233 PASS cursor.value.x is 12
222 Expecting exception from cursor.continue() 234 Expecting exception from cursor.continue()
223 PASS Exception was thrown. 235 PASS Exception was thrown.
224 PASS code is DOMException.INVALID_STATE_ERR 236 PASS code is DOMException.INVALID_STATE_ERR
237 Exception message: The cursor is being iterated or has iterated past its end.
225 PASS cursor.key is 12 238 PASS cursor.key is 12
226 PASS cursor.value.x is 12 239 PASS cursor.value.x is 12
227 self.continueValue++; 240 self.continueValue++;
228 doubleContinueCallback() 241 doubleContinueCallback()
229 cursor = event.target.result 242 cursor = event.target.result
230 Checking value at 13 243 Checking value at 13
231 PASS cursor.key is 13 244 PASS cursor.key is 13
232 PASS cursor.value.x is 13 245 PASS cursor.value.x is 13
233 cursor.continue() 246 cursor.continue()
234 PASS cursor.key is 13 247 PASS cursor.key is 13
235 PASS cursor.value.x is 13 248 PASS cursor.value.x is 13
236 Expecting exception from cursor.continue() 249 Expecting exception from cursor.continue()
237 PASS Exception was thrown. 250 PASS Exception was thrown.
238 PASS code is DOMException.INVALID_STATE_ERR 251 PASS code is DOMException.INVALID_STATE_ERR
252 Exception message: The cursor is being iterated or has iterated past its end.
239 PASS cursor.key is 13 253 PASS cursor.key is 13
240 PASS cursor.value.x is 13 254 PASS cursor.value.x is 13
241 self.continueValue++; 255 self.continueValue++;
242 doubleContinueCallback() 256 doubleContinueCallback()
243 cursor = event.target.result 257 cursor = event.target.result
244 Checking value at 14 258 Checking value at 14
245 PASS cursor.key is 14 259 PASS cursor.key is 14
246 PASS cursor.value.x is 14 260 PASS cursor.value.x is 14
247 cursor.continue() 261 cursor.continue()
248 PASS cursor.key is 14 262 PASS cursor.key is 14
249 PASS cursor.value.x is 14 263 PASS cursor.value.x is 14
250 Expecting exception from cursor.continue() 264 Expecting exception from cursor.continue()
251 PASS Exception was thrown. 265 PASS Exception was thrown.
252 PASS code is DOMException.INVALID_STATE_ERR 266 PASS code is DOMException.INVALID_STATE_ERR
267 Exception message: The cursor is being iterated or has iterated past its end.
253 PASS cursor.key is 14 268 PASS cursor.key is 14
254 PASS cursor.value.x is 14 269 PASS cursor.value.x is 14
255 self.continueValue++; 270 self.continueValue++;
256 doubleContinueCallback() 271 doubleContinueCallback()
257 cursor = event.target.result 272 cursor = event.target.result
258 Checking value at 15 273 Checking value at 15
259 PASS cursor.key is 15 274 PASS cursor.key is 15
260 PASS cursor.value.x is 15 275 PASS cursor.value.x is 15
261 cursor.continue() 276 cursor.continue()
262 PASS cursor.key is 15 277 PASS cursor.key is 15
263 PASS cursor.value.x is 15 278 PASS cursor.value.x is 15
264 Expecting exception from cursor.continue() 279 Expecting exception from cursor.continue()
265 PASS Exception was thrown. 280 PASS Exception was thrown.
266 PASS code is DOMException.INVALID_STATE_ERR 281 PASS code is DOMException.INVALID_STATE_ERR
282 Exception message: The cursor is being iterated or has iterated past its end.
267 PASS cursor.key is 15 283 PASS cursor.key is 15
268 PASS cursor.value.x is 15 284 PASS cursor.value.x is 15
269 self.continueValue++; 285 self.continueValue++;
270 doubleContinueCallback() 286 doubleContinueCallback()
271 cursor = event.target.result 287 cursor = event.target.result
272 Checking value at 16 288 Checking value at 16
273 PASS cursor.key is 16 289 PASS cursor.key is 16
274 PASS cursor.value.x is 16 290 PASS cursor.value.x is 16
275 cursor.continue() 291 cursor.continue()
276 PASS cursor.key is 16 292 PASS cursor.key is 16
277 PASS cursor.value.x is 16 293 PASS cursor.value.x is 16
278 Expecting exception from cursor.continue() 294 Expecting exception from cursor.continue()
279 PASS Exception was thrown. 295 PASS Exception was thrown.
280 PASS code is DOMException.INVALID_STATE_ERR 296 PASS code is DOMException.INVALID_STATE_ERR
297 Exception message: The cursor is being iterated or has iterated past its end.
281 PASS cursor.key is 16 298 PASS cursor.key is 16
282 PASS cursor.value.x is 16 299 PASS cursor.value.x is 16
283 self.continueValue++; 300 self.continueValue++;
284 doubleContinueCallback() 301 doubleContinueCallback()
285 cursor = event.target.result 302 cursor = event.target.result
286 Checking value at 17 303 Checking value at 17
287 PASS cursor.key is 17 304 PASS cursor.key is 17
288 PASS cursor.value.x is 17 305 PASS cursor.value.x is 17
289 cursor.continue() 306 cursor.continue()
290 PASS cursor.key is 17 307 PASS cursor.key is 17
291 PASS cursor.value.x is 17 308 PASS cursor.value.x is 17
292 Expecting exception from cursor.continue() 309 Expecting exception from cursor.continue()
293 PASS Exception was thrown. 310 PASS Exception was thrown.
294 PASS code is DOMException.INVALID_STATE_ERR 311 PASS code is DOMException.INVALID_STATE_ERR
312 Exception message: The cursor is being iterated or has iterated past its end.
295 PASS cursor.key is 17 313 PASS cursor.key is 17
296 PASS cursor.value.x is 17 314 PASS cursor.value.x is 17
297 self.continueValue++; 315 self.continueValue++;
298 doubleContinueCallback() 316 doubleContinueCallback()
299 cursor = event.target.result 317 cursor = event.target.result
300 Checking value at 18 318 Checking value at 18
301 PASS cursor.key is 18 319 PASS cursor.key is 18
302 PASS cursor.value.x is 18 320 PASS cursor.value.x is 18
303 cursor.continue() 321 cursor.continue()
304 PASS cursor.key is 18 322 PASS cursor.key is 18
305 PASS cursor.value.x is 18 323 PASS cursor.value.x is 18
306 Expecting exception from cursor.continue() 324 Expecting exception from cursor.continue()
307 PASS Exception was thrown. 325 PASS Exception was thrown.
308 PASS code is DOMException.INVALID_STATE_ERR 326 PASS code is DOMException.INVALID_STATE_ERR
327 Exception message: The cursor is being iterated or has iterated past its end.
309 PASS cursor.key is 18 328 PASS cursor.key is 18
310 PASS cursor.value.x is 18 329 PASS cursor.value.x is 18
311 self.continueValue++; 330 self.continueValue++;
312 doubleContinueCallback() 331 doubleContinueCallback()
313 cursor = event.target.result 332 cursor = event.target.result
314 Checking value at 19 333 Checking value at 19
315 PASS cursor.key is 19 334 PASS cursor.key is 19
316 PASS cursor.value.x is 19 335 PASS cursor.value.x is 19
317 cursor.continue() 336 cursor.continue()
318 PASS cursor.key is 19 337 PASS cursor.key is 19
319 PASS cursor.value.x is 19 338 PASS cursor.value.x is 19
320 Expecting exception from cursor.continue() 339 Expecting exception from cursor.continue()
321 PASS Exception was thrown. 340 PASS Exception was thrown.
322 PASS code is DOMException.INVALID_STATE_ERR 341 PASS code is DOMException.INVALID_STATE_ERR
342 Exception message: The cursor is being iterated or has iterated past its end.
323 PASS cursor.key is 19 343 PASS cursor.key is 19
324 PASS cursor.value.x is 19 344 PASS cursor.value.x is 19
325 self.continueValue++; 345 self.continueValue++;
326 doubleContinueCallback() 346 doubleContinueCallback()
327 cursor = event.target.result 347 cursor = event.target.result
328 Checking value at 20 348 Checking value at 20
329 PASS cursor.key is 20 349 PASS cursor.key is 20
330 PASS cursor.value.x is 20 350 PASS cursor.value.x is 20
331 cursor.continue() 351 cursor.continue()
332 PASS cursor.key is 20 352 PASS cursor.key is 20
333 PASS cursor.value.x is 20 353 PASS cursor.value.x is 20
334 Expecting exception from cursor.continue() 354 Expecting exception from cursor.continue()
335 PASS Exception was thrown. 355 PASS Exception was thrown.
336 PASS code is DOMException.INVALID_STATE_ERR 356 PASS code is DOMException.INVALID_STATE_ERR
357 Exception message: The cursor is being iterated or has iterated past its end.
337 PASS cursor.key is 20 358 PASS cursor.key is 20
338 PASS cursor.value.x is 20 359 PASS cursor.value.x is 20
339 self.continueValue++; 360 self.continueValue++;
340 doubleContinueCallback() 361 doubleContinueCallback()
341 cursor = event.target.result 362 cursor = event.target.result
342 Checking value at 21 363 Checking value at 21
343 PASS cursor.key is 21 364 PASS cursor.key is 21
344 PASS cursor.value.x is 21 365 PASS cursor.value.x is 21
345 cursor.continue() 366 cursor.continue()
346 PASS cursor.key is 21 367 PASS cursor.key is 21
347 PASS cursor.value.x is 21 368 PASS cursor.value.x is 21
348 Expecting exception from cursor.continue() 369 Expecting exception from cursor.continue()
349 PASS Exception was thrown. 370 PASS Exception was thrown.
350 PASS code is DOMException.INVALID_STATE_ERR 371 PASS code is DOMException.INVALID_STATE_ERR
372 Exception message: The cursor is being iterated or has iterated past its end.
351 PASS cursor.key is 21 373 PASS cursor.key is 21
352 PASS cursor.value.x is 21 374 PASS cursor.value.x is 21
353 self.continueValue++; 375 self.continueValue++;
354 doubleContinueCallback() 376 doubleContinueCallback()
355 cursor = event.target.result 377 cursor = event.target.result
356 Checking value at 22 378 Checking value at 22
357 PASS cursor.key is 22 379 PASS cursor.key is 22
358 PASS cursor.value.x is 22 380 PASS cursor.value.x is 22
359 cursor.continue() 381 cursor.continue()
360 PASS cursor.key is 22 382 PASS cursor.key is 22
361 PASS cursor.value.x is 22 383 PASS cursor.value.x is 22
362 Expecting exception from cursor.continue() 384 Expecting exception from cursor.continue()
363 PASS Exception was thrown. 385 PASS Exception was thrown.
364 PASS code is DOMException.INVALID_STATE_ERR 386 PASS code is DOMException.INVALID_STATE_ERR
387 Exception message: The cursor is being iterated or has iterated past its end.
365 PASS cursor.key is 22 388 PASS cursor.key is 22
366 PASS cursor.value.x is 22 389 PASS cursor.value.x is 22
367 self.continueValue++; 390 self.continueValue++;
368 doubleContinueCallback() 391 doubleContinueCallback()
369 cursor = event.target.result 392 cursor = event.target.result
370 Checking value at 23 393 Checking value at 23
371 PASS cursor.key is 23 394 PASS cursor.key is 23
372 PASS cursor.value.x is 23 395 PASS cursor.value.x is 23
373 cursor.continue() 396 cursor.continue()
374 PASS cursor.key is 23 397 PASS cursor.key is 23
375 PASS cursor.value.x is 23 398 PASS cursor.value.x is 23
376 Expecting exception from cursor.continue() 399 Expecting exception from cursor.continue()
377 PASS Exception was thrown. 400 PASS Exception was thrown.
378 PASS code is DOMException.INVALID_STATE_ERR 401 PASS code is DOMException.INVALID_STATE_ERR
402 Exception message: The cursor is being iterated or has iterated past its end.
379 PASS cursor.key is 23 403 PASS cursor.key is 23
380 PASS cursor.value.x is 23 404 PASS cursor.value.x is 23
381 self.continueValue++; 405 self.continueValue++;
382 doubleContinueCallback() 406 doubleContinueCallback()
383 cursor = event.target.result 407 cursor = event.target.result
384 Checking value at 24 408 Checking value at 24
385 PASS cursor.key is 24 409 PASS cursor.key is 24
386 PASS cursor.value.x is 24 410 PASS cursor.value.x is 24
387 cursor.continue() 411 cursor.continue()
388 PASS cursor.key is 24 412 PASS cursor.key is 24
389 PASS cursor.value.x is 24 413 PASS cursor.value.x is 24
390 Expecting exception from cursor.continue() 414 Expecting exception from cursor.continue()
391 PASS Exception was thrown. 415 PASS Exception was thrown.
392 PASS code is DOMException.INVALID_STATE_ERR 416 PASS code is DOMException.INVALID_STATE_ERR
417 Exception message: The cursor is being iterated or has iterated past its end.
393 PASS cursor.key is 24 418 PASS cursor.key is 24
394 PASS cursor.value.x is 24 419 PASS cursor.value.x is 24
395 self.continueValue++; 420 self.continueValue++;
396 doubleContinueCallback() 421 doubleContinueCallback()
397 cursor = event.target.result 422 cursor = event.target.result
398 continueIndexTest() 423 continueIndexTest()
399 424
400 Checking index 425 Checking index
401 ============== 426 ==============
402 indexObject.openCursor(null, 'next') 427 indexObject.openCursor(null, 'next')
403 self.continueValue = 0 428 self.continueValue = 0
404 cursor = event.target.result 429 cursor = event.target.result
405 Checking value at 0 430 Checking value at 0
406 PASS cursor.key is 0 431 PASS cursor.key is 0
407 PASS cursor.value.x is 0 432 PASS cursor.value.x is 0
408 cursor.continue() 433 cursor.continue()
409 PASS cursor.key is 0 434 PASS cursor.key is 0
410 PASS cursor.value.x is 0 435 PASS cursor.value.x is 0
411 Expecting exception from cursor.continue() 436 Expecting exception from cursor.continue()
412 PASS Exception was thrown. 437 PASS Exception was thrown.
413 PASS code is DOMException.INVALID_STATE_ERR 438 PASS code is DOMException.INVALID_STATE_ERR
439 Exception message: The cursor is being iterated or has iterated past its end.
414 PASS cursor.key is 0 440 PASS cursor.key is 0
415 PASS cursor.value.x is 0 441 PASS cursor.value.x is 0
416 self.continueValue++; 442 self.continueValue++;
417 cursor = event.target.result 443 cursor = event.target.result
418 Checking value at 1 444 Checking value at 1
419 PASS cursor.key is 1 445 PASS cursor.key is 1
420 PASS cursor.value.x is 1 446 PASS cursor.value.x is 1
421 cursor.continue() 447 cursor.continue()
422 PASS cursor.key is 1 448 PASS cursor.key is 1
423 PASS cursor.value.x is 1 449 PASS cursor.value.x is 1
424 Expecting exception from cursor.continue() 450 Expecting exception from cursor.continue()
425 PASS Exception was thrown. 451 PASS Exception was thrown.
426 PASS code is DOMException.INVALID_STATE_ERR 452 PASS code is DOMException.INVALID_STATE_ERR
453 Exception message: The cursor is being iterated or has iterated past its end.
427 PASS cursor.key is 1 454 PASS cursor.key is 1
428 PASS cursor.value.x is 1 455 PASS cursor.value.x is 1
429 self.continueValue++; 456 self.continueValue++;
430 cursor = event.target.result 457 cursor = event.target.result
431 Checking value at 2 458 Checking value at 2
432 PASS cursor.key is 2 459 PASS cursor.key is 2
433 PASS cursor.value.x is 2 460 PASS cursor.value.x is 2
434 cursor.continue() 461 cursor.continue()
435 PASS cursor.key is 2 462 PASS cursor.key is 2
436 PASS cursor.value.x is 2 463 PASS cursor.value.x is 2
437 Expecting exception from cursor.continue() 464 Expecting exception from cursor.continue()
438 PASS Exception was thrown. 465 PASS Exception was thrown.
439 PASS code is DOMException.INVALID_STATE_ERR 466 PASS code is DOMException.INVALID_STATE_ERR
467 Exception message: The cursor is being iterated or has iterated past its end.
440 PASS cursor.key is 2 468 PASS cursor.key is 2
441 PASS cursor.value.x is 2 469 PASS cursor.value.x is 2
442 self.continueValue++; 470 self.continueValue++;
443 cursor = event.target.result 471 cursor = event.target.result
444 Checking value at 3 472 Checking value at 3
445 PASS cursor.key is 3 473 PASS cursor.key is 3
446 PASS cursor.value.x is 3 474 PASS cursor.value.x is 3
447 cursor.continue() 475 cursor.continue()
448 PASS cursor.key is 3 476 PASS cursor.key is 3
449 PASS cursor.value.x is 3 477 PASS cursor.value.x is 3
450 Expecting exception from cursor.continue() 478 Expecting exception from cursor.continue()
451 PASS Exception was thrown. 479 PASS Exception was thrown.
452 PASS code is DOMException.INVALID_STATE_ERR 480 PASS code is DOMException.INVALID_STATE_ERR
481 Exception message: The cursor is being iterated or has iterated past its end.
453 PASS cursor.key is 3 482 PASS cursor.key is 3
454 PASS cursor.value.x is 3 483 PASS cursor.value.x is 3
455 self.continueValue++; 484 self.continueValue++;
456 cursor = event.target.result 485 cursor = event.target.result
457 Checking value at 4 486 Checking value at 4
458 PASS cursor.key is 4 487 PASS cursor.key is 4
459 PASS cursor.value.x is 4 488 PASS cursor.value.x is 4
460 cursor.continue() 489 cursor.continue()
461 PASS cursor.key is 4 490 PASS cursor.key is 4
462 PASS cursor.value.x is 4 491 PASS cursor.value.x is 4
463 Expecting exception from cursor.continue() 492 Expecting exception from cursor.continue()
464 PASS Exception was thrown. 493 PASS Exception was thrown.
465 PASS code is DOMException.INVALID_STATE_ERR 494 PASS code is DOMException.INVALID_STATE_ERR
495 Exception message: The cursor is being iterated or has iterated past its end.
466 PASS cursor.key is 4 496 PASS cursor.key is 4
467 PASS cursor.value.x is 4 497 PASS cursor.value.x is 4
468 self.continueValue++; 498 self.continueValue++;
469 cursor = event.target.result 499 cursor = event.target.result
470 Checking value at 5 500 Checking value at 5
471 PASS cursor.key is 5 501 PASS cursor.key is 5
472 PASS cursor.value.x is 5 502 PASS cursor.value.x is 5
473 cursor.continue() 503 cursor.continue()
474 PASS cursor.key is 5 504 PASS cursor.key is 5
475 PASS cursor.value.x is 5 505 PASS cursor.value.x is 5
476 Expecting exception from cursor.continue() 506 Expecting exception from cursor.continue()
477 PASS Exception was thrown. 507 PASS Exception was thrown.
478 PASS code is DOMException.INVALID_STATE_ERR 508 PASS code is DOMException.INVALID_STATE_ERR
509 Exception message: The cursor is being iterated or has iterated past its end.
479 PASS cursor.key is 5 510 PASS cursor.key is 5
480 PASS cursor.value.x is 5 511 PASS cursor.value.x is 5
481 self.continueValue++; 512 self.continueValue++;
482 cursor = event.target.result 513 cursor = event.target.result
483 Checking value at 6 514 Checking value at 6
484 PASS cursor.key is 6 515 PASS cursor.key is 6
485 PASS cursor.value.x is 6 516 PASS cursor.value.x is 6
486 cursor.continue() 517 cursor.continue()
487 PASS cursor.key is 6 518 PASS cursor.key is 6
488 PASS cursor.value.x is 6 519 PASS cursor.value.x is 6
489 Expecting exception from cursor.continue() 520 Expecting exception from cursor.continue()
490 PASS Exception was thrown. 521 PASS Exception was thrown.
491 PASS code is DOMException.INVALID_STATE_ERR 522 PASS code is DOMException.INVALID_STATE_ERR
523 Exception message: The cursor is being iterated or has iterated past its end.
492 PASS cursor.key is 6 524 PASS cursor.key is 6
493 PASS cursor.value.x is 6 525 PASS cursor.value.x is 6
494 self.continueValue++; 526 self.continueValue++;
495 cursor = event.target.result 527 cursor = event.target.result
496 Checking value at 7 528 Checking value at 7
497 PASS cursor.key is 7 529 PASS cursor.key is 7
498 PASS cursor.value.x is 7 530 PASS cursor.value.x is 7
499 cursor.continue() 531 cursor.continue()
500 PASS cursor.key is 7 532 PASS cursor.key is 7
501 PASS cursor.value.x is 7 533 PASS cursor.value.x is 7
502 Expecting exception from cursor.continue() 534 Expecting exception from cursor.continue()
503 PASS Exception was thrown. 535 PASS Exception was thrown.
504 PASS code is DOMException.INVALID_STATE_ERR 536 PASS code is DOMException.INVALID_STATE_ERR
537 Exception message: The cursor is being iterated or has iterated past its end.
505 PASS cursor.key is 7 538 PASS cursor.key is 7
506 PASS cursor.value.x is 7 539 PASS cursor.value.x is 7
507 self.continueValue++; 540 self.continueValue++;
508 cursor = event.target.result 541 cursor = event.target.result
509 Checking value at 8 542 Checking value at 8
510 PASS cursor.key is 8 543 PASS cursor.key is 8
511 PASS cursor.value.x is 8 544 PASS cursor.value.x is 8
512 cursor.continue() 545 cursor.continue()
513 PASS cursor.key is 8 546 PASS cursor.key is 8
514 PASS cursor.value.x is 8 547 PASS cursor.value.x is 8
515 Expecting exception from cursor.continue() 548 Expecting exception from cursor.continue()
516 PASS Exception was thrown. 549 PASS Exception was thrown.
517 PASS code is DOMException.INVALID_STATE_ERR 550 PASS code is DOMException.INVALID_STATE_ERR
551 Exception message: The cursor is being iterated or has iterated past its end.
518 PASS cursor.key is 8 552 PASS cursor.key is 8
519 PASS cursor.value.x is 8 553 PASS cursor.value.x is 8
520 self.continueValue++; 554 self.continueValue++;
521 cursor = event.target.result 555 cursor = event.target.result
522 Checking value at 9 556 Checking value at 9
523 PASS cursor.key is 9 557 PASS cursor.key is 9
524 PASS cursor.value.x is 9 558 PASS cursor.value.x is 9
525 cursor.continue() 559 cursor.continue()
526 PASS cursor.key is 9 560 PASS cursor.key is 9
527 PASS cursor.value.x is 9 561 PASS cursor.value.x is 9
528 Expecting exception from cursor.continue() 562 Expecting exception from cursor.continue()
529 PASS Exception was thrown. 563 PASS Exception was thrown.
530 PASS code is DOMException.INVALID_STATE_ERR 564 PASS code is DOMException.INVALID_STATE_ERR
565 Exception message: The cursor is being iterated or has iterated past its end.
531 PASS cursor.key is 9 566 PASS cursor.key is 9
532 PASS cursor.value.x is 9 567 PASS cursor.value.x is 9
533 self.continueValue++; 568 self.continueValue++;
534 cursor = event.target.result 569 cursor = event.target.result
535 Checking value at 10 570 Checking value at 10
536 PASS cursor.key is 10 571 PASS cursor.key is 10
537 PASS cursor.value.x is 10 572 PASS cursor.value.x is 10
538 cursor.continue() 573 cursor.continue()
539 PASS cursor.key is 10 574 PASS cursor.key is 10
540 PASS cursor.value.x is 10 575 PASS cursor.value.x is 10
541 Expecting exception from cursor.continue() 576 Expecting exception from cursor.continue()
542 PASS Exception was thrown. 577 PASS Exception was thrown.
543 PASS code is DOMException.INVALID_STATE_ERR 578 PASS code is DOMException.INVALID_STATE_ERR
579 Exception message: The cursor is being iterated or has iterated past its end.
544 PASS cursor.key is 10 580 PASS cursor.key is 10
545 PASS cursor.value.x is 10 581 PASS cursor.value.x is 10
546 self.continueValue++; 582 self.continueValue++;
547 cursor = event.target.result 583 cursor = event.target.result
548 Checking value at 11 584 Checking value at 11
549 PASS cursor.key is 11 585 PASS cursor.key is 11
550 PASS cursor.value.x is 11 586 PASS cursor.value.x is 11
551 cursor.continue() 587 cursor.continue()
552 PASS cursor.key is 11 588 PASS cursor.key is 11
553 PASS cursor.value.x is 11 589 PASS cursor.value.x is 11
554 Expecting exception from cursor.continue() 590 Expecting exception from cursor.continue()
555 PASS Exception was thrown. 591 PASS Exception was thrown.
556 PASS code is DOMException.INVALID_STATE_ERR 592 PASS code is DOMException.INVALID_STATE_ERR
593 Exception message: The cursor is being iterated or has iterated past its end.
557 PASS cursor.key is 11 594 PASS cursor.key is 11
558 PASS cursor.value.x is 11 595 PASS cursor.value.x is 11
559 self.continueValue++; 596 self.continueValue++;
560 cursor = event.target.result 597 cursor = event.target.result
561 Checking value at 12 598 Checking value at 12
562 PASS cursor.key is 12 599 PASS cursor.key is 12
563 PASS cursor.value.x is 12 600 PASS cursor.value.x is 12
564 cursor.continue() 601 cursor.continue()
565 PASS cursor.key is 12 602 PASS cursor.key is 12
566 PASS cursor.value.x is 12 603 PASS cursor.value.x is 12
567 Expecting exception from cursor.continue() 604 Expecting exception from cursor.continue()
568 PASS Exception was thrown. 605 PASS Exception was thrown.
569 PASS code is DOMException.INVALID_STATE_ERR 606 PASS code is DOMException.INVALID_STATE_ERR
607 Exception message: The cursor is being iterated or has iterated past its end.
570 PASS cursor.key is 12 608 PASS cursor.key is 12
571 PASS cursor.value.x is 12 609 PASS cursor.value.x is 12
572 self.continueValue++; 610 self.continueValue++;
573 cursor = event.target.result 611 cursor = event.target.result
574 Checking value at 13 612 Checking value at 13
575 PASS cursor.key is 13 613 PASS cursor.key is 13
576 PASS cursor.value.x is 13 614 PASS cursor.value.x is 13
577 cursor.continue() 615 cursor.continue()
578 PASS cursor.key is 13 616 PASS cursor.key is 13
579 PASS cursor.value.x is 13 617 PASS cursor.value.x is 13
580 Expecting exception from cursor.continue() 618 Expecting exception from cursor.continue()
581 PASS Exception was thrown. 619 PASS Exception was thrown.
582 PASS code is DOMException.INVALID_STATE_ERR 620 PASS code is DOMException.INVALID_STATE_ERR
621 Exception message: The cursor is being iterated or has iterated past its end.
583 PASS cursor.key is 13 622 PASS cursor.key is 13
584 PASS cursor.value.x is 13 623 PASS cursor.value.x is 13
585 self.continueValue++; 624 self.continueValue++;
586 cursor = event.target.result 625 cursor = event.target.result
587 Checking value at 14 626 Checking value at 14
588 PASS cursor.key is 14 627 PASS cursor.key is 14
589 PASS cursor.value.x is 14 628 PASS cursor.value.x is 14
590 cursor.continue() 629 cursor.continue()
591 PASS cursor.key is 14 630 PASS cursor.key is 14
592 PASS cursor.value.x is 14 631 PASS cursor.value.x is 14
593 Expecting exception from cursor.continue() 632 Expecting exception from cursor.continue()
594 PASS Exception was thrown. 633 PASS Exception was thrown.
595 PASS code is DOMException.INVALID_STATE_ERR 634 PASS code is DOMException.INVALID_STATE_ERR
635 Exception message: The cursor is being iterated or has iterated past its end.
596 PASS cursor.key is 14 636 PASS cursor.key is 14
597 PASS cursor.value.x is 14 637 PASS cursor.value.x is 14
598 self.continueValue++; 638 self.continueValue++;
599 cursor = event.target.result 639 cursor = event.target.result
600 Checking value at 15 640 Checking value at 15
601 PASS cursor.key is 15 641 PASS cursor.key is 15
602 PASS cursor.value.x is 15 642 PASS cursor.value.x is 15
603 cursor.continue() 643 cursor.continue()
604 PASS cursor.key is 15 644 PASS cursor.key is 15
605 PASS cursor.value.x is 15 645 PASS cursor.value.x is 15
606 Expecting exception from cursor.continue() 646 Expecting exception from cursor.continue()
607 PASS Exception was thrown. 647 PASS Exception was thrown.
608 PASS code is DOMException.INVALID_STATE_ERR 648 PASS code is DOMException.INVALID_STATE_ERR
649 Exception message: The cursor is being iterated or has iterated past its end.
609 PASS cursor.key is 15 650 PASS cursor.key is 15
610 PASS cursor.value.x is 15 651 PASS cursor.value.x is 15
611 self.continueValue++; 652 self.continueValue++;
612 cursor = event.target.result 653 cursor = event.target.result
613 Checking value at 16 654 Checking value at 16
614 PASS cursor.key is 16 655 PASS cursor.key is 16
615 PASS cursor.value.x is 16 656 PASS cursor.value.x is 16
616 cursor.continue() 657 cursor.continue()
617 PASS cursor.key is 16 658 PASS cursor.key is 16
618 PASS cursor.value.x is 16 659 PASS cursor.value.x is 16
619 Expecting exception from cursor.continue() 660 Expecting exception from cursor.continue()
620 PASS Exception was thrown. 661 PASS Exception was thrown.
621 PASS code is DOMException.INVALID_STATE_ERR 662 PASS code is DOMException.INVALID_STATE_ERR
663 Exception message: The cursor is being iterated or has iterated past its end.
622 PASS cursor.key is 16 664 PASS cursor.key is 16
623 PASS cursor.value.x is 16 665 PASS cursor.value.x is 16
624 self.continueValue++; 666 self.continueValue++;
625 cursor = event.target.result 667 cursor = event.target.result
626 Checking value at 17 668 Checking value at 17
627 PASS cursor.key is 17 669 PASS cursor.key is 17
628 PASS cursor.value.x is 17 670 PASS cursor.value.x is 17
629 cursor.continue() 671 cursor.continue()
630 PASS cursor.key is 17 672 PASS cursor.key is 17
631 PASS cursor.value.x is 17 673 PASS cursor.value.x is 17
632 Expecting exception from cursor.continue() 674 Expecting exception from cursor.continue()
633 PASS Exception was thrown. 675 PASS Exception was thrown.
634 PASS code is DOMException.INVALID_STATE_ERR 676 PASS code is DOMException.INVALID_STATE_ERR
677 Exception message: The cursor is being iterated or has iterated past its end.
635 PASS cursor.key is 17 678 PASS cursor.key is 17
636 PASS cursor.value.x is 17 679 PASS cursor.value.x is 17
637 self.continueValue++; 680 self.continueValue++;
638 cursor = event.target.result 681 cursor = event.target.result
639 Checking value at 18 682 Checking value at 18
640 PASS cursor.key is 18 683 PASS cursor.key is 18
641 PASS cursor.value.x is 18 684 PASS cursor.value.x is 18
642 cursor.continue() 685 cursor.continue()
643 PASS cursor.key is 18 686 PASS cursor.key is 18
644 PASS cursor.value.x is 18 687 PASS cursor.value.x is 18
645 Expecting exception from cursor.continue() 688 Expecting exception from cursor.continue()
646 PASS Exception was thrown. 689 PASS Exception was thrown.
647 PASS code is DOMException.INVALID_STATE_ERR 690 PASS code is DOMException.INVALID_STATE_ERR
691 Exception message: The cursor is being iterated or has iterated past its end.
648 PASS cursor.key is 18 692 PASS cursor.key is 18
649 PASS cursor.value.x is 18 693 PASS cursor.value.x is 18
650 self.continueValue++; 694 self.continueValue++;
651 cursor = event.target.result 695 cursor = event.target.result
652 Checking value at 19 696 Checking value at 19
653 PASS cursor.key is 19 697 PASS cursor.key is 19
654 PASS cursor.value.x is 19 698 PASS cursor.value.x is 19
655 cursor.continue() 699 cursor.continue()
656 PASS cursor.key is 19 700 PASS cursor.key is 19
657 PASS cursor.value.x is 19 701 PASS cursor.value.x is 19
658 Expecting exception from cursor.continue() 702 Expecting exception from cursor.continue()
659 PASS Exception was thrown. 703 PASS Exception was thrown.
660 PASS code is DOMException.INVALID_STATE_ERR 704 PASS code is DOMException.INVALID_STATE_ERR
705 Exception message: The cursor is being iterated or has iterated past its end.
661 PASS cursor.key is 19 706 PASS cursor.key is 19
662 PASS cursor.value.x is 19 707 PASS cursor.value.x is 19
663 self.continueValue++; 708 self.continueValue++;
664 cursor = event.target.result 709 cursor = event.target.result
665 Checking value at 20 710 Checking value at 20
666 PASS cursor.key is 20 711 PASS cursor.key is 20
667 PASS cursor.value.x is 20 712 PASS cursor.value.x is 20
668 cursor.continue() 713 cursor.continue()
669 PASS cursor.key is 20 714 PASS cursor.key is 20
670 PASS cursor.value.x is 20 715 PASS cursor.value.x is 20
671 Expecting exception from cursor.continue() 716 Expecting exception from cursor.continue()
672 PASS Exception was thrown. 717 PASS Exception was thrown.
673 PASS code is DOMException.INVALID_STATE_ERR 718 PASS code is DOMException.INVALID_STATE_ERR
719 Exception message: The cursor is being iterated or has iterated past its end.
674 PASS cursor.key is 20 720 PASS cursor.key is 20
675 PASS cursor.value.x is 20 721 PASS cursor.value.x is 20
676 self.continueValue++; 722 self.continueValue++;
677 cursor = event.target.result 723 cursor = event.target.result
678 Checking value at 21 724 Checking value at 21
679 PASS cursor.key is 21 725 PASS cursor.key is 21
680 PASS cursor.value.x is 21 726 PASS cursor.value.x is 21
681 cursor.continue() 727 cursor.continue()
682 PASS cursor.key is 21 728 PASS cursor.key is 21
683 PASS cursor.value.x is 21 729 PASS cursor.value.x is 21
684 Expecting exception from cursor.continue() 730 Expecting exception from cursor.continue()
685 PASS Exception was thrown. 731 PASS Exception was thrown.
686 PASS code is DOMException.INVALID_STATE_ERR 732 PASS code is DOMException.INVALID_STATE_ERR
733 Exception message: The cursor is being iterated or has iterated past its end.
687 PASS cursor.key is 21 734 PASS cursor.key is 21
688 PASS cursor.value.x is 21 735 PASS cursor.value.x is 21
689 self.continueValue++; 736 self.continueValue++;
690 cursor = event.target.result 737 cursor = event.target.result
691 Checking value at 22 738 Checking value at 22
692 PASS cursor.key is 22 739 PASS cursor.key is 22
693 PASS cursor.value.x is 22 740 PASS cursor.value.x is 22
694 cursor.continue() 741 cursor.continue()
695 PASS cursor.key is 22 742 PASS cursor.key is 22
696 PASS cursor.value.x is 22 743 PASS cursor.value.x is 22
697 Expecting exception from cursor.continue() 744 Expecting exception from cursor.continue()
698 PASS Exception was thrown. 745 PASS Exception was thrown.
699 PASS code is DOMException.INVALID_STATE_ERR 746 PASS code is DOMException.INVALID_STATE_ERR
747 Exception message: The cursor is being iterated or has iterated past its end.
700 PASS cursor.key is 22 748 PASS cursor.key is 22
701 PASS cursor.value.x is 22 749 PASS cursor.value.x is 22
702 self.continueValue++; 750 self.continueValue++;
703 cursor = event.target.result 751 cursor = event.target.result
704 Checking value at 23 752 Checking value at 23
705 PASS cursor.key is 23 753 PASS cursor.key is 23
706 PASS cursor.value.x is 23 754 PASS cursor.value.x is 23
707 cursor.continue() 755 cursor.continue()
708 PASS cursor.key is 23 756 PASS cursor.key is 23
709 PASS cursor.value.x is 23 757 PASS cursor.value.x is 23
710 Expecting exception from cursor.continue() 758 Expecting exception from cursor.continue()
711 PASS Exception was thrown. 759 PASS Exception was thrown.
712 PASS code is DOMException.INVALID_STATE_ERR 760 PASS code is DOMException.INVALID_STATE_ERR
761 Exception message: The cursor is being iterated or has iterated past its end.
713 PASS cursor.key is 23 762 PASS cursor.key is 23
714 PASS cursor.value.x is 23 763 PASS cursor.value.x is 23
715 self.continueValue++; 764 self.continueValue++;
716 cursor = event.target.result 765 cursor = event.target.result
717 Checking value at 24 766 Checking value at 24
718 PASS cursor.key is 24 767 PASS cursor.key is 24
719 PASS cursor.value.x is 24 768 PASS cursor.value.x is 24
720 cursor.continue() 769 cursor.continue()
721 PASS cursor.key is 24 770 PASS cursor.key is 24
722 PASS cursor.value.x is 24 771 PASS cursor.value.x is 24
723 Expecting exception from cursor.continue() 772 Expecting exception from cursor.continue()
724 PASS Exception was thrown. 773 PASS Exception was thrown.
725 PASS code is DOMException.INVALID_STATE_ERR 774 PASS code is DOMException.INVALID_STATE_ERR
775 Exception message: The cursor is being iterated or has iterated past its end.
726 PASS cursor.key is 24 776 PASS cursor.key is 24
727 PASS cursor.value.x is 24 777 PASS cursor.value.x is 24
728 self.continueValue++; 778 self.continueValue++;
729 cursor = event.target.result 779 cursor = event.target.result
730 testModifyContinueOrder() 780 testModifyContinueOrder()
731 781
732 Checking modification 782 Checking modification
733 ===================== 783 =====================
734 indexObject.openCursor(null, 'next') 784 indexObject.openCursor(null, 'next')
735 self.continueValue = 0 785 self.continueValue = 0
736 cursor = event.target.result 786 cursor = event.target.result
737 cursor.continue() 787 cursor.continue()
738 cursor = event.target.result 788 cursor = event.target.result
739 cursor.update({ x: 100 + self.continueValue }) 789 cursor.update({ x: 100 + self.continueValue })
740 cursor.continue() 790 cursor.continue()
741 cursor = event.target.result 791 cursor = event.target.result
742 cursor.delete() 792 cursor.delete()
743 cursor.continue() 793 cursor.continue()
744 cursor = event.target.result 794 cursor = event.target.result
745 cursor.update({ x: 100 + self.continueValue }) 795 cursor.update({ x: 100 + self.continueValue })
746 cursor.continue() 796 cursor.continue()
747 cursor = event.target.result 797 cursor = event.target.result
748 cursor.continue() 798 cursor.continue()
749 Expecting exception from cursor.update({ x: 100 + self.continueValue}) 799 Expecting exception from cursor.update({ x: 100 + self.continueValue})
750 PASS Exception was thrown. 800 PASS Exception was thrown.
751 PASS code is DOMException.INVALID_STATE_ERR 801 PASS code is DOMException.INVALID_STATE_ERR
802 Exception message: The cursor is being iterated or has iterated past its end.
752 cursor = event.target.result 803 cursor = event.target.result
753 cursor.update({ x: 100 + self.continueValue }) 804 cursor.update({ x: 100 + self.continueValue })
754 cursor.continue() 805 cursor.continue()
755 cursor = event.target.result 806 cursor = event.target.result
756 cursor.continue() 807 cursor.continue()
757 Expecting exception from cursor.delete() 808 Expecting exception from cursor.delete()
758 PASS Exception was thrown. 809 PASS Exception was thrown.
759 PASS code is DOMException.INVALID_STATE_ERR 810 PASS code is DOMException.INVALID_STATE_ERR
811 Exception message: The cursor is being iterated or has iterated past its end.
760 cursor = event.target.result 812 cursor = event.target.result
761 cursor.update({ x: 100 + self.continueValue }) 813 cursor.update({ x: 100 + self.continueValue })
762 cursor.continue() 814 cursor.continue()
763 cursor = event.target.result 815 cursor = event.target.result
764 cursor.delete() 816 cursor.delete()
765 cursor.continue() 817 cursor.continue()
766 cursor = event.target.result 818 cursor = event.target.result
767 cursor.update({ x: 100 + self.continueValue }) 819 cursor.update({ x: 100 + self.continueValue })
768 cursor.continue() 820 cursor.continue()
769 cursor = event.target.result 821 cursor = event.target.result
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 cursor = event.target.result 853 cursor = event.target.result
802 cursor.continue() 854 cursor.continue()
803 cursor = event.target.result 855 cursor = event.target.result
804 cursor.update({ x: 100 + self.continueValue }) 856 cursor.update({ x: 100 + self.continueValue })
805 cursor.continue() 857 cursor.continue()
806 cursor = event.target.result 858 cursor = event.target.result
807 cursor.continue() 859 cursor.continue()
808 Expecting exception from cursor.update({ x: 100 + self.continueValue}) 860 Expecting exception from cursor.update({ x: 100 + self.continueValue})
809 PASS Exception was thrown. 861 PASS Exception was thrown.
810 PASS code is DOMException.INVALID_STATE_ERR 862 PASS code is DOMException.INVALID_STATE_ERR
863 Exception message: The cursor is being iterated or has iterated past its end.
811 cursor = event.target.result 864 cursor = event.target.result
812 cursor.update({ x: 100 + self.continueValue }) 865 cursor.update({ x: 100 + self.continueValue })
813 cursor.continue() 866 cursor.continue()
814 cursor = event.target.result 867 cursor = event.target.result
815 cursor.delete() 868 cursor.delete()
816 cursor.continue() 869 cursor.continue()
817 cursor = event.target.result 870 cursor = event.target.result
818 cursor.update({ x: 100 + self.continueValue }) 871 cursor.update({ x: 100 + self.continueValue })
819 cursor.continue() 872 cursor.continue()
820 cursor = event.target.result 873 cursor = event.target.result
(...skipping 10 matching lines...) Expand all
831 cursor.delete() 884 cursor.delete()
832 cursor.continue() 885 cursor.continue()
833 cursor = event.target.result 886 cursor = event.target.result
834 cursor.update({ x: 100 + self.continueValue }) 887 cursor.update({ x: 100 + self.continueValue })
835 cursor.continue() 888 cursor.continue()
836 cursor = event.target.result 889 cursor = event.target.result
837 cursor.continue() 890 cursor.continue()
838 Expecting exception from cursor.update({ x: 100 + self.continueValue}) 891 Expecting exception from cursor.update({ x: 100 + self.continueValue})
839 PASS Exception was thrown. 892 PASS Exception was thrown.
840 PASS code is DOMException.INVALID_STATE_ERR 893 PASS code is DOMException.INVALID_STATE_ERR
894 Exception message: The cursor is being iterated or has iterated past its end.
841 cursor = event.target.result 895 cursor = event.target.result
842 cursor.update({ x: 100 + self.continueValue }) 896 cursor.update({ x: 100 + self.continueValue })
843 cursor.continue() 897 cursor.continue()
844 cursor = event.target.result 898 cursor = event.target.result
845 cursor.continue() 899 cursor.continue()
846 cursor = event.target.result 900 cursor = event.target.result
847 cursor.update({ x: 100 + self.continueValue }) 901 cursor.update({ x: 100 + self.continueValue })
848 cursor.continue() 902 cursor.continue()
849 cursor = event.target.result 903 cursor = event.target.result
850 cursor.delete() 904 cursor.delete()
(...skipping 20 matching lines...) Expand all
871 cursor = event.target.result 925 cursor = event.target.result
872 cursor.continue() 926 cursor.continue()
873 cursor = event.target.result 927 cursor = event.target.result
874 cursor.update({ x: 100 + self.continueValue }) 928 cursor.update({ x: 100 + self.continueValue })
875 cursor.continue() 929 cursor.continue()
876 cursor = event.target.result 930 cursor = event.target.result
877 cursor.continue() 931 cursor.continue()
878 Expecting exception from cursor.delete() 932 Expecting exception from cursor.delete()
879 PASS Exception was thrown. 933 PASS Exception was thrown.
880 PASS code is DOMException.INVALID_STATE_ERR 934 PASS code is DOMException.INVALID_STATE_ERR
935 Exception message: The cursor is being iterated or has iterated past its end.
881 cursor = event.target.result 936 cursor = event.target.result
882 PASS successfullyParsed is true 937 PASS successfullyParsed is true
883 938
884 TEST COMPLETE 939 TEST COMPLETE
885 940
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698