Private Slots

Kevin Smith khs4473 at gmail.com
Mon Jan 14 10:29:24 PST 2013


>
> The concept of freezing the "whole object" is the problem.  If you
> call `freeze` on a DOM object, does the page stop changing?  Of course
> not -- objects can have hidden state that you, the client of that
> object, have no access to and thus no way to freeze.  This isn't
> something new being added here.
>

Slots whose existence is guaranteed to be completely hidden from all code
that does not possess a "magic key" looks new to me.

You can argue that the change is justified (that's the kind of argument I'd
like to see in fact), but arguing that it "isn't something new" isn't
working for me.

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130114/6c6f2be6/attachment-0001.html>


More information about the es-discuss mailing list