W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

Re: [whatwg] Spec for location object needs to make some properties unforgeable; need supporting WebIDL changes

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 02 Jul 2013 16:49:18 +1000
Message-ID: <51D277EE.1000205@mcc.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: whatwg <whatwg@lists.whatwg.org>, "public-script-coord@w3.org" <public-script-coord@w3.org>, Adam Barth <w3c@adambarth.com>
Cameron McCormack wrote:
> OK. I propose then that we allow [Unforgeable] on the interface, which
> means:
>
> * attributes get own, non-configurable accessor properties (with setters
> if they are not readonly attributes), and no property on the prototype
> * operations get own, non-configurable, non-writable properties, and no
> property on the prototype
> * the stringifier gets an own, non-configurable, non-writable toString
> property, and no property on the prototype
> * there is an own, non-configurable, non-writable valueOf property that
> just returns this
>
> I think that's the least amount of crazy.

I've done this now:

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.632;r2=1.633;f=h
http://dev.w3.org/cvsweb/2006/webapi/WebIDL/v1.xml.diff?r1=1.80;r2=1.81;f=h
Received on Tuesday, 2 July 2013 06:55:25 UTC

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