[whatwg] Scripts not in the active document
ian at hixie.ch
Wed May 14 00:34:02 PDT 2008
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 I recall, you can't run script if you're not an active
> > document. (To start with, your Window object won't have your properties any
> > more, which makes things difficult if we allow script.)
> 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 this.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg