[whatwg] Navigation events generated during unload

Ian Hickson ian at hixie.ch
Tue Oct 13 19:58:38 PDT 2009


On Tue, 13 Oct 2009, Boris Zbarsky wrote:
> On 10/13/09 6:22 PM, Ian Hickson wrote:
> > Cross-origin 004 opens two files, 004a and 004b.
> 
> Yes.
> 
> > 004a has a link to: http://another.domain.libpr0n.com/pass
> 
> Yes.
> 
> > When you click that link, the first frame begins navigating to that URL.
> > Before it does so, it performs a cross-frame form submission to:
> >     http://www.hixie.ch/tests/adhoc/html/navigation/unload/cross-origin/pass
> 
> Right.
> 
> > Since that's the same origin as the target frame, it should work per spec,
> > but it doesn't in Firefox.
> 
> Does
> http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-October/023320.html
> explain what you're seeing?

Ah, I see. Yes, that makes sense. Are you ok with what the spec says 
despite this minor difference? (It seems that what the spec says is a mote 
more self-consistent, but I could be biased! ;-) )

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list