diff --git a/index.bs b/index.bs index 3418133..2a17d1e 100644 --- a/index.bs +++ b/index.bs @@ -583,7 +583,7 @@ stored and retrieved by value rather than by reference; later changes to a value have no effect on the record stored in the database. Record [=/values=] are [=/Records=] output by the -StructuredSerializeForStorage operation. +[$StructuredSerializeForStorage$] operation. @@ -754,7 +754,7 @@ from a [=/value=]. A valid key path is one of: [=/Key path=] values can only be accessed from properties explicitly -copied by StructuredSerializeForStorage, as well as the +copied by [$StructuredSerializeForStorage$], as well as the following type-specific properties: @@ -5566,9 +5566,9 @@ To fire an error event at a |request|, run these steps: The [=/transaction=] is made [=transaction/inactive=] so that getters or other side effects triggered by the cloning operation are unable to make additional requests against the transaction. - 1. Let |serialized| be [=?=] StructuredSerializeForStorage(|value|). + 1. Let |serialized| be [=?=] [$StructuredSerializeForStorage$](|value|). - 1. Let |clone| be [=?=] StructuredDeserialize(|serialized|, |targetRealm|). + 1. Let |clone| be [=?=] [$StructuredDeserialize$](|serialized|, |targetRealm|). 1. Set |transaction|'s [=transaction/state=] to [=transaction/active=]. @@ -5587,10 +5587,10 @@ These operations are run by the steps to [=asynchronously execute a request=]. @@ -5631,7 +5631,7 @@ To store a record into an object store with [=delete records from an object store=]. 1. Store a record in |store| containing |key| as its key and - [=!=] StructuredSerializeForStorage(|value|) + [=!=] [$StructuredSerializeForStorage$](|value|) as its value. The record is stored in the object store's [=object-store/list of records=] such that the list is sorted according to the key of the records in [=ascending=] order. @@ -5716,7 +5716,7 @@ To retrieve a value from an object store with 1. Let |serialized| be of |record|'s [=/value=]. -1. Return [=!=] StructuredDeserialize(|serialized|, |targetRealm|). +1. Return [=!=] [$StructuredDeserialize$](|serialized|, |targetRealm|). @@ -5737,7 +5737,7 @@ store with |targetRealm|, |store|, |range| and optional |count|, run these 1. [=list/For each=] |record| of |records|: 1. Let |serialized| be |record|'s [=/value=]. - 1. Let |entry| be [=!=] StructuredDeserialize(|serialized|, |targetRealm|). + 1. Let |entry| be [=!=] [$StructuredDeserialize$](|serialized|, |targetRealm|). 1. Append |entry| to |list|. 1. Return |list| converted to a [=/sequence=]<{{any}}>. @@ -5802,7 +5802,7 @@ with |targetRealm|, |index| and |range|, run these steps: 1. Let |serialized| be |record|'s [=referenced value=]. -1. Return [=!=] StructuredDeserialize(|serialized|, |targetRealm|). +1. Return [=!=] [$StructuredDeserialize$](|serialized|, |targetRealm|). @@ -5822,7 +5822,7 @@ index with |targetRealm|, |index|, |range| and optional |count|, run these 1. [=list/For each=] |record| of |records|: 1. Let |serialized| be |record|'s [=referenced value=]. - 1. Let |entry| be [=!=] StructuredDeserialize(|serialized|, |targetRealm|). + 1. Let |entry| be [=!=] [$StructuredDeserialize$](|serialized|, |targetRealm|). 1. Append |entry| to |list|. 1. Return |list| converted to a [=/sequence=]<{{any}}>. @@ -6090,7 +6090,7 @@ To iterate a cursor with |targetRealm|, |cursor|, an optional 1. Let |serialized| be |found record|'s [=referenced value=]. 1. Set |cursor|'s [=cursor/value=] to - [=!=] StructuredDeserialize(|serialized|, |targetRealm|) + [=!=] [$StructuredDeserialize$](|serialized|, |targetRealm|) 1. Set |cursor|'s [=cursor/got value flag=] to true. @@ -6228,7 +6228,7 @@ ECMAScript value or failure, or the steps may throw an exception. @@ -6272,7 +6272,7 @@ The result of these steps is either true or false.
@@ -6318,7 +6318,7 @@ To inject a key into a value using a key path with |value|, a |key| a @@ -6719,8 +6719,8 @@ handling of older data can result in security issues. In addition to basic serialization concerns, serialized data could encode assumptions which are not valid in newer versions of the user agent. -A practical example of this is the [=RegExp=] type. The StructuredSerializeForStorage operation allows serializing [=RegExp=] +A practical example of this is the [=RegExp=] type. The +[$StructuredSerializeForStorage$] operation allows serializing [=RegExp=] objects. A typical user agent will compile a regular expression into native machine instructions, with assumptions about how the input data is passed and results returned. If this internal state was serialized