W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2014

Re: Return value of getSupportedConstraints (Re: [Bug 26654] WebIDL types needed in Constrainable application)

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 14 Oct 2014 09:43:45 +0200
Message-ID: <CADnb78isrdee8Gn6tXmM9HVYzrrQoTKxAusdiHnc8D2xzUkrdg@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Martin Thomson <martin.thomson@gmail.com>, Jan-Ivar Bruaroey <jib@mozilla.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On Tue, Oct 14, 2014 at 9:27 AM, Harald Alvestrand <harald@alvestrand.no> wrote:
> What do you mean by "JavaScript proxy" in this context, and what
> property of the named getter means that the proxy can't be implemented
> in any other language (such as C++)?

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-proxy-object-internal-methods-and-internal-slots

If you prototype your API in JavaScript, and you should, you'll find
that named getters require a proxy. That is a solid indication you're
on the wrong path. You don't have to take my word for it, you can ask
e.g. public-script-coord@w3.org or the TAG or some such.


-- 
https://annevankesteren.nl/
Received on Tuesday, 14 October 2014 07:44:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:50 UTC