1 Test IndexedDB's basics. 2 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6 PASS 'webkitIndexedDB' in window is true 7 PASS webkitIndexedDB == null is false 8 PASS 'webkitIDBCursor' in window is true 9 PASS webkitIDBCursor == null is false 10 webkitIndexedDB.open('basics') 11 PASS 'result' in request is true 12 Expecting exception from request.result 13 PASS Exception was thrown. 14 PASS code is webkitIDBDatabaseException.NOT_ALLOWED_ERR 15 PASS 'errorCode' in request is true 16 Expecting exception from request.errorCode 17 PASS Exception was thrown. 18 PASS code is webkitIDBDatabaseException.NOT_ALLOWED_ERR 19 PASS 'webkitErrorMessage' in request is true 20 Expecting exception from request.webkitErrorMessage 21 PASS Exception was thrown. 22 PASS code is webkitIDBDatabaseException.NOT_ALLOWED_ERR 23 PASS 'source' in request is true 24 PASS request.source is webkitIndexedDB 25 PASS 'transaction' in request is true 26 PASS request.transaction is null 27 PASS 'readyState' in request is true 28 PASS request.readyState is webkitIDBRequest.LOADING 29 PASS 'onsuccess' in request is true 30 PASS request.onsuccess is null 31 PASS 'onerror' in request is true 32 PASS request.onerror is null 33 PASS request.LOADING is 1 34 PASS request.DONE is 2 35 PASS 'result' in event.target is true 36 PASS !!event.target.result is true 37 PASS 'errorCode' in event.target is true 38 PASS event.target.errorCode is 0 39 PASS 'webkitErrorMessage' in event.target is true 40 PASS event.target.webkitErrorMessage is undefined. 41 PASS 'source' in event.target is true 42 PASS request.source is webkitIndexedDB 43 PASS 'transaction' in event.target is true 44 PASS event.target.transaction is null 45 PASS 'readyState' in request is true 46 PASS event.target.readyState is webkitIDBRequest.DONE 47 PASS 'onsuccess' in event.target is true 48 PASS 'onerror' in event.target is true 49 PASS event.target.LOADING is 1 50 PASS event.target.DONE is 2 51 PASS successfullyParsed is true 52 53 TEST COMPLETE 54 55