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

Re: Strict mode callbacks and setTimeout

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 06 Jul 2011 17:38:26 -0400
Message-ID: <4E14D5D2.5020604@mit.edu>
To: "Mark S. Miller" <erights@google.com>
CC: Allen Wirfs-Brock <allen@wirfs-brock.com>, Luke Hoban <lukeh@microsoft.com>, "es5-discuss@mozilla.org" <es5-discuss@mozilla.org>, public-script-coord@w3.org
On 7/6/11 5:36 PM, Mark S. Miller wrote:
> Why? What breaks if webidl considers setTimeout to be a strict function?

Then the this object will be wrong (in particular not be a Window) and 
WebIDL will require that the function throw.

-Boris
Received on Wednesday, 6 July 2011 21:38:55 UTC

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