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

Re: ISSUE-43: change to \"common baseline\"?

From: Robin Berjon <robin.berjon@expway.fr>
Date: Sat, 18 Mar 2006 17:44:03 +0100
Message-Id: <CFD62276-3AD5-45D9-9ADC-1FC95E92BEA6@expway.fr>
Cc: Web APIs WG <public-webapi@w3.org>
To: Jonas Sicking <jonas@sicking.cc>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:20 UTC