Re: CSP 1.1 DOM design

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....

-Boris

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