W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2012

Re: [PageVisibility] Hooks in Unload Processing Model

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 29 Feb 2012 21:30:48 +0000 (UTC)
To: Jatinder Mann <jmann@microsoft.com>
cc: "Boris Zbarsky (bzbarsky@mit.edu)" <bzbarsky@mit.edu>, "arvind@google.com" <arvind@google.com>, "public-web-perf@w3.org" <public-web-perf@w3.org>
Message-ID: <Pine.LNX.4.64.1202292129530.10359@ps20323.dreamhostps.com>
On Wed, 29 Feb 2012, Jatinder Mann wrote:
> 
> In particular, we are looking to reference both the current step 2 and 
> step 3 below:
> 
> 2. Fire a pagehide event at the Window object of the Document, but with 
> its target set to the Document object (and the currentTarget set to the 
> Window object), using the PageTransitionEvent interface, with the 
> persisted attribute initialized to true. This event must not bubble, 
> must not be cancelable, and has no default action.
> 
> 3. Unload event: Fire a simple event named unload at the Document's 
> Window object.

When you say "reference", do you mean you want to have the user agent 
perform some task?

If so, do you want to perform the task before or after the steps? Or both?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 29 February 2012 21:32:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 February 2012 21:32:11 GMT