Skip to content

Commit 1992c6e

Browse files
Serialization also calls inherited toJSON (w3c#1730)
1 parent a65f9fb commit 1992c6e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6581,8 +6581,8 @@ <h3>Executing Script</h3>
65816581
<li><p>Return <a>success</a> with data <var>reference</var>.
65826582
</ol>
65836583

6584-
<dt>has an <a>own property</a> named "<code>toJSON</code>" that is
6585-
a <a>Function</a>
6584+
<dt>has an <a>own property</a> or <a>inherited property</a> named
6585+
"<code>toJSON</code>" that is a <a>Function</a>
65866586
<dd>Return <a>success</a> with the value returned by
65876587
<a>Function.[[\Call]]</a>(<code>toJSON</code>) with <var>value</var>
65886588
as the this value.
@@ -10979,6 +10979,7 @@ <h2>Index</h2>
1097910979
<!-- FunctionCreate --> <li><dfn><a href=https://tc39.github.io/ecma262/#sec-functioncreate>FunctionCreate</a></dfn>
1098010980
<!-- Get --> <li><dfn><a href=https://tc39.github.io/ecma262/#sec-get-o-p>Get</a></dfn>
1098110981
<!-- Global environment --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-10.2.3>Global environment</a></dfn>
10982+
<!-- Inherited property --> <li><dfn data-lt="inherited properties"><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.31>Inherited property</a></dfn>
1098210983
<!-- IsCallable --> <li><dfn><a href=https://tc39.github.io/ecma262/#sec-iscallable>IsCallable</a></dfn>
1098310984
<!-- Own property --> <li><dfn data-lt="own properties"><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.30>Own property</a></dfn>
1098410985
<!-- Promise --> <li><dfn><a href=https://tc39.github.io/ecma262/#sec-promise-constructor>Promise</a></dfn>

0 commit comments

Comments
 (0)