Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4301,10 +4301,30 @@ interface IDBRecord {

The <dfn attribute for=IDBRecord>key</dfn> getter steps are to return the result of [=/converting a key to a value=] with [=/this=]'s [=record snapshot/key=].

NOTE:
If {{IDBRecord/key}} returns an object (e.g. a {{Date}} or {{Array}}), it
returns the same object instance every time it is inspected. This means that if
the object is modified, those modifications will be seen by anyone inspecting
the value of the record. However modifying such an object does not modify the
contents of the database.

The <dfn attribute for=IDBRecord>primaryKey</dfn> getter steps are to return the result of [=/converting a key to a value=] with [=/this=]'s [=record snapshot/primary key=].

NOTE:
If {{IDBRecord/primaryKey}} returns an object (e.g. a {{Date}} or {{Array}}),
it returns the same object instance every time it is inspected. This means that
if the object is modified, those modifications will be seen by anyone
inspecting the value of the record. However modifying such an object does not
modify the contents of the database.

The <dfn attribute for=IDBRecord>value</dfn> getter steps are to return [=/this=]'s [=record snapshot/value=].

NOTE:
If {{IDBRecord/value}} returns an object (e.g. a {{Date}} or {{Array}}), it
returns the same object instance every time it is inspected. This means that if
the object is modified, those modifications will be seen by anyone inspecting
the value of the record. However modifying such an object does not modify the
contents of the database.

<!-- ============================================================ -->
## The {{IDBCursor}} interface ## {#cursor-interface}
Expand Down