| OLD | NEW |
| 1 Test IndexedDB keys ordering and readback from cursors. | 1 Test IndexedDB keys ordering and readback from cursors. |
| 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 = "cursor-key-order.html" | 6 dbname = "cursor-key-order.html" |
| 9 indexedDB.deleteDatabase(dbname) | 7 indexedDB.deleteDatabase(dbname) |
| 10 indexedDB.open(dbname) | 8 indexedDB.open(dbname) |
| 11 db.createObjectStore('store') | 9 db.createObjectStore('store') |
| 12 | 10 |
| 13 populating store... | 11 populating store... |
| 14 trans = db.transaction('store', 'readwrite') | 12 trans = db.transaction('store', 'readwrite') |
| 15 store = trans.objectStore('store'); | 13 store = trans.objectStore('store'); |
| 16 store.put(0, -Infinity) | 14 store.put(0, -Infinity) |
| 17 store.put(1, -Number.MAX_VALUE) | 15 store.put(1, -Number.MAX_VALUE) |
| (...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 PASS compare([[123], 123], ['abc', 123]) is false | 892 PASS compare([[123], 123], ['abc', 123]) is false |
| 895 PASS compare([[123], 123], [[]]) is false | 893 PASS compare([[123], 123], [[]]) is false |
| 896 PASS compare([[123], 123], [[123]]) is false | 894 PASS compare([[123], 123], [[123]]) is false |
| 897 PASS compare([[123], 123], [['abc']]) is false | 895 PASS compare([[123], 123], [['abc']]) is false |
| 898 PASS compare([[123], 123], [[123], 'abc']) is false | 896 PASS compare([[123], 123], [[123], 'abc']) is false |
| 899 PASS compare([[123], 123], [[123], 123]) is true | 897 PASS compare([[123], 123], [[123], 123]) is true |
| 900 PASS successfullyParsed is true | 898 PASS successfullyParsed is true |
| 901 | 899 |
| 902 TEST COMPLETE | 900 TEST COMPLETE |
| 903 | 901 |
| OLD | NEW |