Cross-document messaging: document.onmessage


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  

Kind regards,

Anne van Kesteren

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