W3C home > Mailing lists > Public > public-web-perf@w3.org > May 2011

Re: [PageVisibility] location of the interface

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 3 May 2011 11:31:38 +1200
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: public-web-perf@w3.org
Message-ID: <20110502233138.GH2576@wok.mcc.id.au>
Boris Zbarsky:
> Only if the variables are declared with |var|.  Plenty of scripts use
> undeclared variables, though.

You’re right.  I was thinking that pages shouldn’t break even with
undeclared assignment over the top of a Window member, but that’s really
only true for functions, like `open = 123`, not attributes where they
might be read only or have some behaviour upon assignment.

Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 2 May 2011 23:32:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:30 UTC