Skip to content

Commit 896d5be

Browse files
Correct record value serialization in cursor iteration #453
Implements @inexorabletash's suggestion to fix #452.
1 parent fe4a092 commit 896d5be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6019,7 +6019,7 @@ To <dfn>iterate a cursor</dfn> with |targetRealm|, |cursor|, an optional
60196019

60206020
1. If |cursor|'s [=cursor/key only flag=] is false, then:
60216021

6022-
1. Let |serialized| be |found record|'s [=index/referenced value=].
6022+
1. Let |serialized| be |found record|'s [=/value=] if |source| is an [=/object store=], or |found record|'s [=index/referenced value=] otherwise.
60236023
1. Set |cursor|'s [=cursor/value=] to
60246024
[=ECMAScript/!=] [$StructuredDeserialize$](|serialized|, |targetRealm|)
60256025

@@ -6720,6 +6720,7 @@ For the revision history of the second edition, see [that document's Revision Hi
67206720
* Don't include databases that aren't done being created in {{IDBFactory/databases()}}. (<#442>)
67216721
* Clarify that only [=transaction/inactive=] [=/transactions=] should attempt to auto-commit. (<#436>)
67226722
* Correct [=/upgrade a database=] steps to handle aborted transactions. (<#436>)
6723+
* Update [=/iterate a cursor=] value serialization to use [=/value=] for [=/object stores=] instead of [=index/referenced values=]. (<#452>)
67236724

67246725
<!-- ============================================================ -->
67256726
# Acknowledgements # {#acknowledgements}

0 commit comments

Comments
 (0)