File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ contributors: Shu-yu Guo
2323 <dl class="header">
2424 </dl>
2525 <emu-alg>
26- 1. <ins>If _O_.[[Extensible]] is *false*, throw a *TypeError* exception.</ins>
2726 1. If the host is a web browser, then
2827 1. Perform ? HostEnsureCanAddPrivateElement(_O_).
28+ 1. <ins>If ? IsExtensible(_O_) is *false*, throw a *TypeError* exception.</ins>
2929 1. Let _entry_ be PrivateElementFind(_O_, _P_).
3030 1. If _entry_ is not ~empty~, throw a *TypeError* exception.
3131 1. Append PrivateElement { [[Key]]: _P_, [[Kind]]: ~field~, [[Value]]: _value_ } to _O_.[[PrivateElements]].
@@ -44,9 +44,9 @@ contributors: Shu-yu Guo
4444 </dl>
4545 <emu-alg>
4646 1. Assert: _method_.[[Kind]] is either ~method~ or ~accessor~.
47- 1. <ins>If _O_.[[Extensible]] is *false*, throw a *TypeError* exception.</ins>
4847 1. If the host is a web browser, then
4948 1. Perform ? HostEnsureCanAddPrivateElement(_O_).
49+ 1. <ins>If ? IsExtensible(_O_) is *false*, throw a *TypeError* exception.</ins>
5050 1. Let _entry_ be PrivateElementFind(_O_, _method_.[[Key]]).
5151 1. If _entry_ is not ~empty~, throw a *TypeError* exception.
5252 1. Append _method_ to _O_.[[PrivateElements]].
You can’t perform that action at this time.
0 commit comments