W3C home > Mailing lists > Public > public-html@w3.org > March 2008

Cross-document messaging: document.onmessage

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 10 Mar 2008 13:51:00 +0100
To: "HTML WG" <public-html@w3.org>
Message-ID: <op.t7swnav664w2qv@annevk-t60.oslo.opera.com>


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

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:27 UTC