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

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

From: Adam Barth <w3c@adambarth.com>
Date: Tue, 25 Sep 2012 10:16:57 -0700
Message-ID: <CAJE5ia_Qig_Ff0mJ-bF8v+=pPsLnNUb6TgCO_a83PfOgrXbLng@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: whatwg <whatwg@lists.whatwg.org>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On Tue, Sep 25, 2012 at 10:15 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 9/25/12 12:54 PM, Adam Barth wrote:
>> I'm not sure what needs to be done in spec-land to make valueOf work
>> correctly, but in implementation-land it needs the same unforgability
>> mitigations as toString.
>
> Well, one thing that needs to happen is that its behavior needs to be
> specced.  Should it do the same thing as the canonical
> Object.prototype.valueOf does?

Yeah, it doesn't need to do anything special.  It just need to not be
changeable by the page.

Adam
Received on Tuesday, 25 September 2012 17:17:56 UTC

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