Cross-document messaging: document.onmessage

Hi,

Both HTMLElement and Window have an onmessage event handler attribute, but  
HTMLDocument does not. And HTMLDocument is the event target in case of  
cross-document messaging.

I'm not sure if it's still fixable, but I wanted to ask if Document is  
really the most consistent event target for this event. The online/offline  
events in theory use the <body> element for instance (and in practice  
Window).

Kind regards,


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 10 March 2008 12:50:54 UTC