Re: [w3c/IndexedDB] IDBRecord getters and key conversion to value caching (Issue #494)

smaug---- left a comment (w3c/IndexedDB#494)

Per current spec no caching should happen, so even record.key === record.key should be false. And so should record.key === record.primaryKey.

Oh, I had missed this [restriction](https://webidl.spec.whatwg.org/#SameObject:~:text=The%20%5BSameObject%5D%20extended%20attribute%20must%20not%20be%20used%20on%20anything%20other%20than%20a%20read%20only%20attribute%20whose%20type%20is%20an%20interface%20type%20or%20object%2E) in webidl spec.
I guess the setup needs to be document in prose.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/494#issuecomment-4423130505
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/issues/494/4423130505@github.com>

Received on Monday, 11 May 2026 17:24:11 UTC