Re: [whatwg] Scripts not in the active document

2008-05-15 Thread Jonas Sicking
Ian Hickson wrote: On Mon, 29 Oct 2007, Jonas Sicking wrote: Ian Hickson wrote: I believe this can happen in a number of ways, the simplest being that Page A calls a function on Page B. But I suspect there are also events that can fire in Page B even after it has closed. Actually per spec, if

Re: [whatwg] Scripts not in the active document

2008-05-14 Thread Mike Wilson
Ian Hickson wrote: > Jonas Sicking wrote: > > Scripts can actually still run fine even if you navigate > > away from a page. But there are definitely weird things > > happening (such as global scope being different from 'window'). > > Could you elaborate on this? I'm not clear on how to define t

[whatwg] Scripts not in the active document

2008-05-14 Thread Ian Hickson
On Mon, 29 Oct 2007, Jonas Sicking wrote: > Ian Hickson wrote: > > > I believe this can happen in a number of ways, the simplest being that > > > Page A calls a function on Page B. But I suspect there are also events > > > that can fire in Page B even after it has closed. > > > > Actually per spec