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

[whatwg] readystatechange for SCRIPT

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 09 Sep 2011 17:09:23 -0400
Message-ID: <4E6A8083.607@mit.edu>
On 9/9/11 3:40 PM, Ian Hickson wrote:
> Only documents; media elements don't use 'readystatechange' events (they
> have specific events for specific readyState transitions).

Ah, ok.

> This is what I'm leaning towards at the moment. Are there any objections
> to removing the readyState support from<script>  (reverting r6543) and
> moving onreadystatechange to HTMLDocument exclusively?

HTMLDocument, or Document?

If it's put on HTMLDocument exclusively, that would solve the 
XMLDocument.prototype problem as well.  But the readyState property 
seems to be on Document, not HTMLDocument....

In general, I have no objection to the change proposed above; just want 
to clarify where exactly we want to put the inline event handler property.

> Specific event names don't bubble or not bubble, only specific events
> bubble or not.

Well, yes, but in general there is only one kind of event normally 
dispatched for a given name.  But OK, we can wait and see on this.

Received on Friday, 9 September 2011 14:09:23 UTC

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