Skip to content

Commit 9382ec7

Browse files
committed
Remove no longer needed note
1 parent fa8d9cd commit 9382ec7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

spec.emu

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ contributors: Matthew Gaudet, Justin Ridgewell
2626
<dd>It walks the prototype chain of _o_ looking for _propertyKey_, returning *true* if retrieving the property could run user code when performing the operation of _kind_: that is, the property is a getter, setter, or a Proxy is encountered on the chain. This should never run user code.</dd>
2727
</dl>
2828
<emu-alg>
29+
1. <ins>Assert: The following steps do not run user code.</ins>
2930
1. <ins>If _o_ is *null*, return *false*.</ins>
3031
1. <ins>If _o_ has a [[ProxyHandler]] internal slot, return *true*.</ins>
3132
1. <ins>If HostObjectHasImpureLookupInternalMethods(_o_) returns *true*, return *true*.</ins>
@@ -37,9 +38,6 @@ contributors: Matthew Gaudet, Justin Ridgewell
3738
1. Return *false*.
3839
1. <ins>Return PropertyAccessCouldRunUserCode(_o_.[[GetPrototypeOf]](), _propertyKey_, _kind_).</ins>
3940
</emu-alg>
40-
<emu-note>
41-
<p>This relies on ordinary [[GetPrototypeOf]] never running user code. A Proxy is handled by short-circuiting with *true* before any of its MOP is invoked.</p>
42-
</emu-note>
4341
</emu-clause>
4442

4543
<emu-clause id="sec-perform-promise-resolution" type="abstract operation">

0 commit comments

Comments
 (0)