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

[PageVisibility] Hooks in Unload Processing Model

From: Jatinder Mann <jmann@microsoft.com>
Date: Wed, 29 Feb 2012 20:06:34 +0000
To: "ian@hixie.ch" <ian@hixie.ch>
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: <EE4C13A1D11CFA49A58343DE361B0B04137420E6@TK5EX14MBXC252.redmond.corp.microsoft.com>

In order to specify the Page Visibility behavior when unloading a document, the Page Visibility editors would like a hook in the http://dev.w3.org/html5/spec/Overview.html#unloading-documents section so the Page Visibility spec can reference it.

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.

What is the process for making such a change?

Received on Wednesday, 29 February 2012 20:07:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:01:10 UTC