[Bug 27346] Data properties

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27346

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #2 from Boris Zbarsky <bzbarsky@mit.edu> ---
> * You cannot have type restrictions.

Correct.

> C++ cannot have fast-path for using it

That's true for any data property, really.  C++ would have to use some sort of
out-of-band state.

> "[[Writable]] is false" on its own is useless if [[Configurable]] is true.

Not any more so than having a configurable accessor with no setter.

The main problem here would actually be that afaict creation of an object with
data properties would be slower than of one without, since you have to set up
the data properties on it (unlike the current Web IDL accessors, which actually
live on the prototype, so only have to be set up once, not per object).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 17 November 2014 15:22:21 UTC