@@ -1760,11 +1760,11 @@ an |ownership type|, a |serialization internal map| and a |realm|:
1760
1760
1. Let |handle id| be the [=handle for an object=] given |realm|, |ownership type|
1761
1761
and |value|.
1762
1762
1763
+ 1. Set |ownership type| to "<code> none</code> ".
1764
+
1763
1765
1. Let |known object| be <code> true</code> , if |value| is in the
1764
1766
|serialization internal map|, otherwise <code> false</code> .
1765
1767
1766
- 1. Let |child ownership| be "<code> none</code> ".
1767
-
1768
1768
<dl>
1769
1769
<dt> [=Type=] (|value|) is Symbol
1770
1770
<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|:
1837
1837
1838
1838
1. Let |serialized| be the result of [=serialize as a mapping=] given
1839
1839
[=CreateMapIterator=] (|value|, key+value), |max depth|,
1840
- |child ownership|, |serialization internal map| and |realm|.
1840
+ |ownership type |, |serialization internal map| and |realm|.
1841
1841
1842
1842
1. If |serialized| is not null, set field <code> value</code> of |remote value| to
1843
1843
|serialized|.
@@ -1858,7 +1858,7 @@ an |ownership type|, a |serialization internal map| and a |realm|:
1858
1858
the following steps:
1859
1859
1860
1860
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 |,
1862
1862
|serialization internal map| and |realm|.
1863
1863
1864
1864
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|:
1933
1933
1. Let |child depth| be |max depth| - 1 if |max depth| is not null, or null otherwise.
1934
1934
1935
1935
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 |,
1937
1937
|serialization internal map| and |realm|.
1938
1938
1939
1939
1. Append |serialized| to |children|.
@@ -1964,7 +1964,7 @@ an |ownership type|, a |serialization internal map| and a |realm|:
1964
1964
1965
1965
1. Let |serialized shadow| be the result of
1966
1966
[=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|.
1968
1968
1969
1969
Note: this means the <code> handle</code> for the shadow root
1970
1970
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|:
2008
2008
2009
2009
1. Let |serialized| be the result of [=serialize as a mapping=] given
2010
2010
[=EnumerableOwnPropertyNames=] (|value|, key+value), |max depth|,
2011
- |child ownership|, |serialization internal map| and
2011
+ |ownership type |, |serialization internal map| and
2012
2012
|realm|.
2013
2013
2014
2014
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.
2033
2033
</div>
2034
2034
2035
2035
<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 |,
2037
2037
|serialization internal map| and |realm|:
2038
2038
2039
2039
1. Let |serialized| be a new list.
@@ -2044,7 +2044,7 @@ To <dfn>serialize as a list</dfn> given |iterable|, |max depth|, |child ownershi
2044
2044
otherwise.
2045
2045
2046
2046
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 |,
2048
2048
|serialization internal map| and |realm|.
2049
2049
2050
2050
1. Append |serialized child| to |serialized|.
@@ -2056,7 +2056,7 @@ Issue: this assumes for-in works on iterators
2056
2056
2057
2057
<div algorithm>
2058
2058
To <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|:
2060
2060
2061
2061
1. Let |serialized| be a new list.
2062
2062
@@ -2075,11 +2075,11 @@ To <dfn>serialize as a mapping</dfn> given |iterable|, |max depth|,
2075
2075
2076
2076
1. If [=Type=] (|key|) is String, let |serialized key| be |child key|,
2077
2077
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 |,
2079
2079
|serialization internal map| and |realm|.
2080
2080
2081
2081
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 |,
2083
2083
|serialization internal map| and |realm|.
2084
2084
2085
2085
1. Let |serialized child| be («|serialized key|, |serialized value|»).
0 commit comments