• IDBRequest.readyState:等于pending表示操作正在进行,等于done表示操作正在完成。
    • IDBRequest.result:返回请求的结果。如果请求失败、结果不可用,读取该属性会报错。
    • IDBRequest.source:返回请求的来源(比如索引对象或 ObjectStore)。
    • IDBRequest.transaction:返回当前请求正在进行的事务,如果不包含事务,返回null
    • IDBRequest.onerror:指定error事件的监听函数。
    • IDBOpenDBRequest.onblocked:指定blocked事件(upgradeneeded事件触发时,数据库仍然在使用)的监听函数。