[whatwg] Navigation events generated during unload

Boris Zbarsky bzbarsky at MIT.EDU
Mon Oct 5 18:35:37 PDT 2009

On 10/5/09 9:35 PM, Ian Hickson wrote:
> My testing showed browsers also stopped things like navigation triggered
> by submitting a form to another frame (<form target="">).

Oh, right.  The Gecko implementation of form submission and link clicks 
performs the "are we after unload firing started, and if so, is the new 
URI same-origin with the URI that was loading?" check at the moment of 
the click or submit call, which is before target name resolution has 
happened.  That could probably be changed, with enough effort (and 
likely would be as part of making link clicks work however it is HTML5 
defines them, instead of however it is they work in Gecko right now).


More information about the whatwg mailing list