[whatwg] events when navigating away before page load?

Ian Hickson ian at hixie.ch
Fri Dec 14 15:52:12 PST 2012


On Sat, 15 Dec 2012, Olli Pettay wrote:
>
> There are also pageshow and pagehide events, although the spec for them 
> seems to be wrong. They are fired always, not only when dealing with 
> session history.

Do you have a test case that shows when they are fired in a way that 
doesn't match the spec?

(Note that session history is invoked when you load a page, and that 
pagehide is fired in the unload algorithm as well.)

-- 
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