1 Test IndexedDB undefined as record value
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "value-undefined.html"
7 indexedDB.deleteDatabase(dbname)
9 objectStore = db.createObjectStore('foo');
10 result = objectStore.add(undefined, Infinity);
11 result = objectStore.get(Infinity);
12 value = event.target.result;
13 PASS value is undefined
14 result = objectStore.openCursor();
15 cursor = event.target.result;
16 PASS cursor.key is Infinity
17 PASS cursor.value is undefined
18 PASS successfullyParsed is true