Finiteness of object properties set

Tom Van Cutsem tomvc.be at gmail.com
Wed Sep 7 06:59:34 PDT 2011


2011/9/7 David Bruant <david.bruant at labri.fr>

> **
> Extensible proxies are not a problem. Non-extensible proxies are if the
> specs asks for non-extensible objects (then proxies) to have a finite set of
> properties.
>

Where is the problem? In my FixedHandler experiment, non-extensible proxies
are also required to have a finite set of properties.

>From your message, I understand that you see it as a problem that the
FixedHandler makes use of a plain ES5 (thus finite) object to store the
non-configurable properties. While the object is finite, as long as it's
extensible, it can grow without bounds. Of course there is a space leak
issue here, as I mentioned earlier, but is there some deeper problem I'm
missing?

Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110907/85f6ef5e/attachment.html>


More information about the es-discuss mailing list