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

Making properties of a class unenumerable

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 28 May 2014 16:05:03 +0200
Message-ID: <CADnb78h630QCp0mzLptGPTNKJqGSnFQiT5VdG_NXsvWJMsxV0g@mail.gmail.com>
To: public-script-coord <public-script-coord@w3.org>, Allen Wirfs-Brock <allen@wirfs-brock.com>
Cc: Andrea Marchesini <baku@mozilla.com>, Boris Zbarsky <bzbarsky@mit.edu>, Ian Hickson <ian@hixie.ch>
When switching Storage
http://www.whatwg.org/specs/web-apps/current-work/#storage-0 to IDL
bindings in Gecko Andrea noticed that changes enumeration.

In order to get the same enumeration as before, we'd need to mark all
members of the object as [[Enumerable]] false.

However, in ES6 only built-ins set [[Enumerable]] to false. Would it
be a problem if we introduced a feature for this in IDL?

Received on Wednesday, 28 May 2014 14:05:35 UTC

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