W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: connection ceremony for iframe postMessage communications

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 09 Feb 2012 14:49:18 -0500
Message-ID: <4F34233E.1050801@mit.edu>
To: public-webapps@w3.org
On 2/9/12 1:15 PM, John J Barton wrote:
> This leads developers to look for events that will tell them about
> 'load' on iframes, and that leads them to try
> iframe.contentWindow.addEventListener(). It works fine for same-domain
> iframes, but fails for cross-domain.

Adding a load listener to the iframe element itself should work for 
this, no?

That doesn't help with the second problem, of course....

Received on Thursday, 9 February 2012 19:49:50 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:38 UTC