W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2014

[Bug 27346] Data properties

From: <bugzilla@jessica.w3.org>
Date: Mon, 17 Nov 2014 15:22:19 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27346-3890-vEhkfZhwUS@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC