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

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 26 Sep 2012 11:28:01 +1000
Message-ID: <50625A21.1050706@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>
Boris Zbarsky:
> I can live with this, but why is this better than just allowing
> [Unforgeable] on all operations and attributes and defining an "object
> valueOf(); /* returns self */ " on Location?

If we really do want to make all Location interface members be 
unforgeable, then moving the [Unforgeable] up to the interface seems 
like a nicer way to indicate that.  It also means we don't have to 
pretend we really are defining a useful "valueOf" operation.
Received on Wednesday, 26 September 2012 01:28:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:07 UTC