[whatwg] events when navigating away before page load?

Olli Pettay Olli.Pettay at helsinki.fi
Fri Dec 14 15:56:31 PST 2012


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.



More information about the whatwg mailing list