W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2012

Re: [whatwg] events when navigating away before page load?

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 14 Dec 2012 23:52:12 +0000 (UTC)
To: olli@pettay.fi
Message-ID: <Pine.LNX.4.64.1212142351360.12469@ps20323.dreamhostps.com>
Cc: whatwg@whatwg.org, Mike Wilson <mikewse@hotmail.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 14 December 2012 23:52:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:50 UTC