@@ -1760,11 +1760,11 @@ an |ownership type|, a |serialization internal map| and a |realm|:
176017601. Let |handle id| be the [=handle for an object=] given |realm|, |ownership type|
17611761 and |value|.
17621762
1763+ 1. Set |ownership type| to "<code> none</code> ".
1764+
176317651. Let |known object| be <code> true</code> , if |value| is in the
17641766 |serialization internal map|, otherwise <code> false</code> .
17651767
1766- 1. Let |child ownership| be "<code> none</code> ".
1767-
17681768 <dl>
17691769 <dt> [=Type=] (|value|) is Symbol
17701770 <dd> Let |remote value| be a map matching the <code> SymbolRemoteValue</code>
@@ -1837,7 +1837,7 @@ an |ownership type|, a |serialization internal map| and a |realm|:
18371837
18381838 1. Let |serialized| be the result of [=serialize as a mapping=] given
18391839 [=CreateMapIterator=] (|value|, key+value), |max depth|,
1840- |child ownership|, |serialization internal map| and |realm|.
1840+ |ownership type |, |serialization internal map| and |realm|.
18411841
18421842 1. If |serialized| is not null, set field <code> value</code> of |remote value| to
18431843 |serialized|.
@@ -1858,7 +1858,7 @@ an |ownership type|, a |serialization internal map| and a |realm|:
18581858 the following steps:
18591859
18601860 1. Let |serialized| be the result of [=serialize as a list=] given
1861- [=CreateSetIterator=] (|value|, value), |max depth|, |child ownership|,
1861+ [=CreateSetIterator=] (|value|, value), |max depth|, |ownership type |,
18621862 |serialization internal map| and |realm|.
18631863
18641864 1. If |serialized| is not null, set field <code> value</code> of |remote value| to
@@ -1933,7 +1933,7 @@ an |ownership type|, a |serialization internal map| and a |realm|:
19331933 1. Let |child depth| be |max depth| - 1 if |max depth| is not null, or null otherwise.
19341934
19351935 1. Let |serialized| be the result of [=serialize as a remote value=]
1936- with |child|, |child depth|, |child ownership|,
1936+ with |child|, |child depth|, |ownership type |,
19371937 |serialization internal map| and |realm|.
19381938
19391939 1. Append |serialized| to |children|.
@@ -1964,7 +1964,7 @@ an |ownership type|, a |serialization internal map| and a |realm|:
19641964
19651965 1. Let |serialized shadow| be the result of
19661966 [=serialize as a remote value=] with |shadow root|, |child depth|,
1967- false, |child ownership|, |serialization internal map| and |realm|.
1967+ false, |ownership type |, |serialization internal map| and |realm|.
19681968
19691969 Note: this means the <code> handle</code> for the shadow root
19701970 will be serialized irrespective of whether the shadow is open or closed,
@@ -2008,7 +2008,7 @@ an |ownership type|, a |serialization internal map| and a |realm|:
20082008
20092009 1. Let |serialized| be the result of [=serialize as a mapping=] given
20102010 [=EnumerableOwnPropertyNames=] (|value|, key+value), |max depth|,
2011- |child ownership|, |serialization internal map| and
2011+ |ownership type |, |serialization internal map| and
20122012 |realm|.
20132013
20142014 1. If |serialized| is not null, set field <code> value</code> of |remote value| to
@@ -2033,7 +2033,7 @@ remove optional flag from the field.
20332033</div>
20342034
20352035<div algorithm>
2036- To <dfn>serialize as a list</dfn> given |iterable|, |max depth|, |child ownership|,
2036+ To <dfn>serialize as a list</dfn> given |iterable|, |max depth|, |ownership type |,
20372037|serialization internal map| and |realm|:
20382038
20392039 1. Let |serialized| be a new list.
@@ -2044,7 +2044,7 @@ To <dfn>serialize as a list</dfn> given |iterable|, |max depth|, |child ownershi
20442044 otherwise.
20452045
20462046 1. Let |serialized child| be the result of [=serialize as a remote value=]
2047- with arguments |child value|, |child depth|, |child ownership|,
2047+ with arguments |child value|, |child depth|, |ownership type |,
20482048 |serialization internal map| and |realm|.
20492049
20502050 1. Append |serialized child| to |serialized|.
@@ -2056,7 +2056,7 @@ Issue: this assumes for-in works on iterators
20562056
20572057<div algorithm>
20582058To <dfn>serialize as a mapping</dfn> given |iterable|, |max depth|,
2059- |child ownership|, |serialization internal map| and |realm|:
2059+ |ownership type |, |serialization internal map| and |realm|:
20602060
206120611. Let |serialized| be a new list.
20622062
@@ -2075,11 +2075,11 @@ To <dfn>serialize as a mapping</dfn> given |iterable|, |max depth|,
20752075
20762076 1. If [=Type=] (|key|) is String, let |serialized key| be |child key|,
20772077 otherwise let |serialized key| be the result of [=serialize as a remote value=]
2078- with arguments |child key|, |child depth|, |child ownership|,
2078+ with arguments |child key|, |child depth|, |ownership type |,
20792079 |serialization internal map| and |realm|.
20802080
20812081 1. Let |serialized value| be the result of [=serialize as a remote value=]
2082- with arguments |value|, |child depth|, |child ownership|,
2082+ with arguments |value|, |child depth|, |ownership type |,
20832083 |serialization internal map| and |realm|.
20842084
20852085 1. Let |serialized child| be («|serialized key|, |serialized value|»).
0 commit comments