RE: Highres time incrementing when a tab is not visible

We have a note in the spec that states: "As the now method returns the current time, time spent while a document is not fully active is included for the purpose of this method." I can update this note to include visibility: "As the now method returns the current time, time spent while a document is hidden or not fully active is included for the purpose of this method."

Thanks,
Jatinder

From: nduca@google.com [mailto:nduca@google.com] On Behalf Of Nat Duca
Sent: Monday, May 7, 2012 11:15 AM
To: public-web-perf@w3.org
Subject: Highres time incrementing when a tab is not visible

Had an interesting question about performance.now () earlier and thought I'd throw it out to the group to mull over:

   "the high res timer; does it stop when the user selects a different tab (chrome) or slides the page off screen (mobile)?"

So, should we explicitly state that performance.now() is not affected by visibility?


- Nat

Received on Monday, 7 May 2012 18:32:13 UTC