- From: Christophe Jolif <cjolif@ilog.fr>
- Date: Tue, 07 Mar 2006 10:50:55 +0100
- To: Jonas Sicking <jonas@sicking.cc>
- CC: Maciej Stachowiak <mjs@apple.com>, Ian Davis <Ian.Davis@talis.com>, public-webapi@w3.org
Hi, Jonas Sicking wrote: >> My intent was doing this was that ECMAScript bindings would define a >> special rule so that only functions or strings are actually accepted, >> much the way functions are accepted by EventTarget.addEventListener. >> The reason for this is that the "function or string" interface doesn't >> really work for non-ECMAScript languages. In particular, for Java, >> "eva this string" is not a sensible interface. > > Personally, I wouldn't mind seing support for passing a string to > setTimeout deprecated. Unless someone has a good usecase of course. > > If we really do want to allow a string to be passed then I like the > approach of defining special ECMAScript bindings to handle it. I fully agree with these two statements. The string version doesn't bring much (until now I never find myself in a situation I have to use it) and in any case if kept should be considered as an ECMAScript binding-only thing. -- Christophe
Received on Tuesday, 7 March 2006 09:57:00 UTC