[w3c/IndexedDB] Possible logic inversion in `iterate a cursor` (Issue #452)

stelar7 created an issue (w3c/IndexedDB#452)

[openCursor](https://w3c.github.io/IndexedDB/#dom-idbindex-opencursor) creates a cursor with the [key only flag](https://w3c.github.io/IndexedDB/#cursor-key-only-flag) set to false

[iterate a cursor](https://w3c.github.io/IndexedDB/#iterate-a-cursor) step 13 checks if the key only flag is set, and then tries to access the referenced value.

Only Index Records have [referenced values](https://w3c.github.io/IndexedDB/#index-referenced-value), but here there is no such thing.

Should step 13 be checking if the flag is true? Or am I missing something?

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

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

Received on Tuesday, 29 April 2025 18:10:33 UTC