RE: [PageVisibility] Need to define interaction with page navigation

I don't know if there is value in changing the visibility state properties when the page is unloaded - developers should key off of the unload event to save state and do cleanup work instead. From the UA point of view, to support this behavior might be a lot of work with limited usefulness to the developer. Do you have a scenario in mind where this could be useful? 

-----Original Message-----
From: public-web-perf-request@w3.org [mailto:public-web-perf-request@w3.org] On Behalf Of Boris Zbarsky
Sent: Friday, September 30, 2011 10:02 AM
To: public-web-perf@w3.org
Subject: [PageVisibility] Need to define interaction with page navigation

In particular, does visibility state change when documents are unloaded? 
  What if they're going into the history cache or coming out of it? 
Does the visibility change notification fire in that case, and if so, how is it ordered with pageshow and pagehide?

-Boris

Received on Wednesday, 5 October 2011 23:11:34 UTC