W3C home > Mailing lists > Public > public-webapi@w3.org > February 2006

Re: Window object, very rough cut of proposed content for first version of spec

From: Jim Ley <jim.ley@gmail.com>
Date: Tue, 14 Feb 2006 13:18:24 +0000
Message-ID: <851c8d310602140518q4dddc651pa48530966dc20080@mail.gmail.com>
To: Maciej Stachowiak <mjs@apple.com>
Cc: public-webapi@w3.org

On 2/14/06, Maciej Stachowiak <mjs@apple.com> wrote:
> On Feb 14, 2006, at 3:29 AM, Jim Ley wrote:
> > In IE that would attempt to execute timerFunc by a script engine
> > represented by the string "it worked".
>
> According to Anne it sounds like it calls it with no arguments instead.

That's what it does if there's no handler for that script engine, it
just uses the default engine.

> Existing code could depend on it being an integer. I don't see much
> reason to change it. It would be more elegant to use an opaque
> interface, but not enough to risk breaking existing code.

I don't believe there is any code that relies on it being an integer
or there are any use cases (because you can't actually do anything
with the number other than pass it to clearTimeout).

Cheers,

Jim.
Received on Tuesday, 14 February 2006 13:18:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT