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

Re: ISSUE-70: what to do about window timers?

From: Maciej Stachowiak <mjs@apple.com>
Date: Wed, 5 Apr 2006 14:28:16 -0700
Message-Id: <6B194C46-A7CC-4DBA-BA7F-7D284F73E415@apple.com>
Cc: Web APIs WG <public-webapi@w3.org>
To: Ian Hickson <ian@hixie.ch>


On Apr 4, 2006, at 4:19 PM, Ian Hickson wrote:

>
> On Tue, 4 Apr 2006, Web APIs Issue Tracker wrote:
>>
>> A.1) Define in an ECMAScript-only way, and assume other languages all
>> have their own built-in timer facility.
>
> Do this. If the other language ACTUALLY have a need for a timer  
> feature,
> then we'll hear about it when the authors of those language come and
> request a feature, and then we'll be able to tell that they really  
> need it
> when they actually propose an interface and so forth.

I spoke to Cameron McCormack about this, and it turns out that the  
native Java timer facility is definitely *not* suitable for use with  
in-page scripting. Java's Timer fires from a background thread, and  
so any timers set that way

So if we want to support Java, we are pretty much forced to add  
something, either by redefining the existing timer functionality to  
also work for Java, or by adding some new methods/interfaces.

Regards,
Maciej
Received on Wednesday, 5 April 2006 21:28:27 GMT

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