W3C home > Mailing lists > Public > public-web-security@w3.org > November 2012

Re: CSP 1.1 DOM design

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 05 Nov 2012 14:47:55 -0800
Message-ID: <5098421B.4040304@mit.edu>
To: Cameron McCormack <cam@mcc.id.au>
CC: Alex Russell <slightlyoff@google.com>, public-web-security@w3.org
On 11/5/12 2:46 PM, Cameron McCormack wrote:
> That's an interesting question, but I don't think it's anything
> different from trying to assign to a setter-less accessor property

This is always done at the assignment point, and the JS engine handles it.

> It's just going to look at whether the calling code is in strict mode or not.

My point was that this information is not available inside a setter in 
SpiderMonkey.  And probably not in other ES implementations since 
nothing requires it so far....

Received on Monday, 5 November 2012 22:48:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:20 UTC