W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2013

Re: [whatwg] HTML5 web messaging - postMessage

From: Glenn Maynard <glenn@zewt.org>
Date: Sun, 27 Jan 2013 21:26:53 -0600
Message-ID: <CABirCh8k+jLKFqoJBSAUnx10bGJRpLHVY5W4c45j=dbz+vKXcA@mail.gmail.com>
To: "Jack (Zhan, Hua Ping)" <jackiszhp@gmail.com>
Cc: whatwg@whatwg.org
Please choose a list to send mail to, rather than spamming multiple lists,
or else the thread will become fragmented as people choose one or the other
list.

On Sun, Jan 27, 2013 at 9:03 PM, Jack (Zhan, Hua Ping)
<jackiszhp@gmail.com>wrote:

> This design was messed up by pulling "origin" (a word that some people
> put too much attention more than should).
> Even worse, it requires "o.contentWindow", this is really no
> professional sense. Because of this design, if I open two tabs with
> the same url http://www.google.com/ they are not able to communicate.
>

You want shared workers for that, not Web Messaging.
http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shared-workers-introduction

-- 
Glenn Maynard
Received on Monday, 28 January 2013 03:27:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:12 GMT