getOwnPropertyDescriptor side effects

Raul-Sebastian Mihăilă raul.mihaila at gmail.com
Tue Jan 10 06:56:31 UTC 2017


Even if the `stack` property is non-standard, getting its property
descriptor must follow the same general rules for ordinary objects.

On Tue, Jan 10, 2017 at 2:25 AM, Isiah Meadows <isiahmeadows at gmail.com>
wrote:

> First, the `stack` property is non-standard. Second, proxies don't have to
> be stateful, and many of them aren't.
>
> On Fri, Jan 6, 2017, 14:58 Raul-Sebastian Mihăilă <raul.mihaila at gmail.com>
> wrote:
>
>> That sounds like a bug because error objects are ordinary objects and the
>> [[GetOwnProperty]] internal method of ordinary objects doesn't have side
>> effects.
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170110/8445ab4f/attachment.html>


More information about the es-discuss mailing list