We can apply [NewObject] in the following cases:
- Any method that returns an IDBRequest or IDBOpenDBRequest, e.g.
get() etc
- IDBDatabase
transaction()
createObjectStore(), createIndex()
- The statuc IDBKeyRange methods (
only() etc)
This allows implementations to make assertions, but doesn't alter the behavior.
We can apply
[NewObject]in the following cases:get()etctransaction()createObjectStore(),createIndex()only()etc)This allows implementations to make assertions, but doesn't alter the behavior.