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

Re: Exposing constructors of readonly interfaces to web authors

From: Dirk Schulze <dschulze@adobe.com>
Date: Sat, 28 Jun 2014 12:03:19 +0000
To: Anne van Kesteren <annevk@annevk.nl>
CC: Domenic Denicola <domenic@domenicdenicola.com>, Rik Cabanier <cabanier@gmail.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
Message-ID: <ED7DD1E3-EBE6-4833-94D7-5B272BBB61B3@adobe.com>

> On Jun 28, 2014, at 1:51 PM, "Anne van Kesteren" <annevk@annevk.nl> wrote:
> 
>> On Sat, Jun 28, 2014 at 1:39 PM, Dirk Schulze <dschulze@adobe.com> wrote:
>> Lets take the example from DOMRectReadOnly again:
> 
> It seems you missed Domenic's comment that per IDL properties end up
> on the prototype, not the object. Also, how does your example above
> ensure you can still modify the properties? It seems that part is not
> explained.

DOMQuad can set the private rect object while its callers can not. That is the only thing that matters and needed to be proved here.

Greetings,
Dirk

> 
> 
> -- 
> http://annevankesteren.nl/
Received on Saturday, 28 June 2014 12:03:54 UTC

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