On Thu, Jan 6, 2011 at 7:14 PM, Boris Zbarsky <bzbar...@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