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

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

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Sat, 15 Dec 2012 01:56:31 +0200
Message-ID: <50CBBCAF.5000800@helsinki.fi>
To: Ian Hickson <ian@hixie.ch>
Cc: whatwg@whatwg.org, Mike Wilson <mikewse@hotmail.com>
On 12/15/2012 01:52 AM, Ian Hickson wrote:
> 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.)
>

Ah, then I misinterpreted the spec.
Received on Friday, 14 December 2012 23:57:25 UTC

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