OLD | NEW |
1 Test IndexedDB's KeyRange. | 1 Test IndexedDB's KeyRange. |
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 PASS 'lower' in IDBKeyRange is false | 6 PASS 'lower' in IDBKeyRange is false |
9 PASS 'upper' in IDBKeyRange is false | 7 PASS 'upper' in IDBKeyRange is false |
10 PASS 'lowerOpen' in IDBKeyRange is false | 8 PASS 'lowerOpen' in IDBKeyRange is false |
11 PASS 'upperOpen' in IDBKeyRange is false | 9 PASS 'upperOpen' in IDBKeyRange is false |
12 PASS 'only' in IDBKeyRange is true | 10 PASS 'only' in IDBKeyRange is true |
13 PASS 'lowerBound' in IDBKeyRange is true | 11 PASS 'lowerBound' in IDBKeyRange is true |
14 PASS 'upperBound' in IDBKeyRange is true | 12 PASS 'upperBound' in IDBKeyRange is true |
15 PASS 'bound' in IDBKeyRange is true | 13 PASS 'bound' in IDBKeyRange is true |
16 | 14 |
17 instance = IDBKeyRange.only(1) | 15 instance = IDBKeyRange.only(1) |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 Expecting exception from IDBKeyRange.bound(4, 4, true, true) | 265 Expecting exception from IDBKeyRange.bound(4, 4, true, true) |
268 PASS Exception was thrown. | 266 PASS Exception was thrown. |
269 PASS code is 0 | 267 PASS code is 0 |
270 PASS ename is 'DataError' | 268 PASS ename is 'DataError' |
271 Exception message: Failed to execute 'bound' on 'IDBKeyRange': The lower key and
upper key are equal and one of the bounds is open. | 269 Exception message: Failed to execute 'bound' on 'IDBKeyRange': The lower key and
upper key are equal and one of the bounds is open. |
272 Equal keys, none of the bounds is open, bound(4, 4, false, false) | 270 Equal keys, none of the bounds is open, bound(4, 4, false, false) |
273 PASS successfullyParsed is true | 271 PASS successfullyParsed is true |
274 | 272 |
275 TEST COMPLETE | 273 TEST COMPLETE |
276 | 274 |
OLD | NEW |