W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

[whatwg] readystatechange for SCRIPT (Re: Feedback regarding script execution)

From: Hallvord R. M. Steen <hallvord@opera.com>
Date: Thu, 08 Sep 2011 20:41:47 +0000
Message-ID: <20110908204147.e6bj2jhky5kok0cs@staff.opera.com>
Siterer Ian Hickson <ian at hixie.ch>:

> Note that I recently checked in some changes to <script> to expose a
> readyState IDL attribute and to fire 'readystatechange' events, based on
> what IE has implemented here.


Hi Ian,
as far as I know Opera is currently the only browser that supports  
both script.onload and script.onreadystatechange, and this is causing  
us compatibility problems because many scripts set both and expect  
only one of them to run. For this reason, we plan to drop  
script.onreadystatechange support. Including it in the spec may not be  
a good idea, since in our experience firing both load and  
readystatechange events on SCRIPT will be painful. I suggest removing  
the latter again.

-- Hallvord
Received on Thursday, 8 September 2011 13:41:47 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC