- From: Robin Berjon <robin.berjon@expway.fr>
- Date: Sat, 18 Mar 2006 17:44:03 +0100
- To: Jonas Sicking <jonas@sicking.cc>
- Cc: Web APIs WG <public-webapi@w3.org>
On Mar 18, 2006, at 14:36, Jonas Sicking wrote:
> Would it really break backwards compatibility for ECMA-script
> implementations to change onreadystatechange from being a Function
> to being an EventListener?
>
> A function following the version 1 spec will not take any
> arguments. Such a function should work fine as an EventListener in
> version 2, it just would not get access to the Event object.
Right, for Ecmascript the binding says (perhaps not clearly, or at
not obviously enough) that EventListener is a Function, so I would
expect the transition from Function to EventListener to be smooth,
but perhaps I'm missing something.
--
Robin Berjon
Senior Research Scientist
Expway, http://expway.com/
Received on Saturday, 18 March 2006 16:44:09 UTC