Re: Exposing constructors of readonly interfaces to web authors

Dirk Schulze wrote:
> DOMQuad is a new interface and indeed part of general layout efforts that give authors more control and information over layout with JS. With the described behavior, a live object is reasonable IMO.

This side of the discussion still seems to be missing the shared getters 
in prototype point, which is important. The (correct, compared to Rik's 
-- thanks!) JS you sketched using Object.defineProperty makes getters 
*per instance*, with fresh getter function suites per instance -- and 
this is observable via ES5 introspection APIs. It's also way too costly 
for implementors to tolerate.

/be

Received on Saturday, 28 June 2014 13:43:46 UTC