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

Re: [chromium-html5] LocalStorage inside Worker

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 6 Jan 2011 19:36:27 -0800
Message-ID: <AANLkTikoMfTCrkmJ1RmjYJ-uaZyN5oXB3ZukDZ5iqV3B@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Joćo Eiras <joao.eiras@gmail.com>, public-webapps WG <public-webapps@w3.org>
On Thu, Jan 6, 2011 at 7:14 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 1/6/11 5:25 PM, Joćo Eiras wrote:
>>
>> Not different from two different tabs/windows running the same code.
>
> In which current browsers do same-origin tabs/windows end up interleaving
> their JS (that is, one runs JS before the other has returned to the event
> loop)?

I'm fairly sure it happens both in Chrome and IE. One way it can happen is:

Tab 1 opens with a page from site A
Tab 2 opens with a page from site B
The page in tab 2 contains an iframe with a page from site A.

But I'm not even sure that Chrome and IE makes an effort to use the
same process if you open two tabs for the same site.

/ Jonas
Received on Friday, 7 January 2011 03:37:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:15 UTC