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: Tue, 06 Nov 2012 07:04:28 -0800
Message-ID: <509926FC.3080706@mit.edu>
To: David Bruant <bruant.d@gmail.com>
CC: Cameron McCormack <cam@mcc.id.au>, Alex Russell <slightlyoff@google.com>, public-web-security@w3.org
On 11/6/12 1:51 AM, David Bruant wrote:
> Strict mode is a static thing. If a function is defined (and
> instantiated) in a strict portion of a program (or is a strict
> function), then, regardless of who's grabbing and who's calling, the
> function applies strict rules.

That doesn't address my question about behavior, sadly.  The getter in 
question is not defined or instantiated in any part of a program at all. 
  Conceptually, it's set up when the global object is, just like all the 
ES standard class stuff.

-Boris
Received on Tuesday, 6 November 2012 15:05:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 6 November 2012 15:05:05 GMT