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

Re: connection ceremony for iframe postMessage communications

From: Charles Pritchard <chuck@jumis.com>
Date: Fri, 10 Feb 2012 16:58:52 -0800
Message-ID: <4F35BD4C.3060107@jumis.com>
To: John J Barton <johnjbarton@johnjbarton.com>
CC: Ian Hickson <ian@hixie.ch>, public-webapps <public-webapps@w3.org>
On 2/10/2012 3:44 PM, John J Barton wrote:
> Thanks. As a hint for the next person, it seems like the asymmetric
> messages (parent 'ping', iframe 'load') is easier than symmetric
> ('hello'/'ack')
>
> I think there are two more cases. Because the messages are all async,
> the 'it gets missed case" can be "it gets delayed". That causes
> additional messages.

I've been pursuing something like this for transferring content between 
frames. That's part of why I was excited to see Web Intents taking off.
I also went with a ping mechanism for messaging.

I recommend taking this thread over to the Web Intents list and 
examining it there. I see every reason to want a loose idea of what Web 
Intents over postMessage would look like.
They have a shim mechanism for demo purposes and backwards 
compatibility, but they don't have the same focus you do (or I do), on 
iframe postMessage.


-Charles
Received on Saturday, 11 February 2012 00:59:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT