We can apply [SameObject] in the following cases:
- IDBObjectStore's
transaction
- IDBIndex's
objectStore
- IDBTransaction's
db
Although semantically "same object" I don't think we can apply it in these cases per IDL's rules.
- IDBRequest and IDBCursor's
source - it's a nullable union
- IDBObjectStore and IDBIndex's
keyPath - it is any and defined in prose as effectively (DOMString or sequence<DOMString>) (nullable for stores)
We can apply
[SameObject]in the following cases:transactionobjectStoredbAlthough semantically "same object" I don't think we can apply it in these cases per IDL's rules.
source- it's a nullable unionkeyPath- it isanyand defined in prose as effectively(DOMString or sequence<DOMString>)(nullable for stores)