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

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