- From: Harald Alvestrand <harald@alvestrand.no>
- Date: Mon, 13 Oct 2014 21:36:45 +0200
- To: Anne van Kesteren <annevk@annevk.nl>, Martin Thomson <martin.thomson@gmail.com>
- CC: Jan-Ivar Bruaroey <jib@mozilla.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On 10/13/2014 06:59 PM, Anne van Kesteren wrote:
> On Fri, Oct 10, 2014 at 8:24 PM, Martin Thomson
> <martin.thomson@gmail.com> wrote:
>> It's possible to use a named properties structure here, isn't it?
>> http://www.w3.org/TR/WebIDL/#idl-named-properties
>>
>> interface ConstraintSetSupports {
>> getter boolean (DOMString constraintName);
>> };
>>
>> With the set of names being defined in text. This would have the
>> advantage of being extensible.
> Please don't define any new objects with named getters. They are a
> mistake and require JavaScript proxies to be implemented in
> JavaScript. IDL will be updated at some point to name these
> legacygetter and friends.
Having written one of these in Blink, I have trouble interpreting the
sentence.
What does "require JavaScript proxies to be implemented in JavaScript" mean?
>
>
--
Surveillance is pervasive. Go Dark.
Received on Monday, 13 October 2014 19:37:19 UTC