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

Re: Highres time incrementing when a tab is not visible

From: Nat Duca <nduca@chromium.org>
Date: Mon, 7 May 2012 13:11:09 -0700
Message-ID: <CAAMsTOvyy-1FBi-NdCoBTKrE1uru7wLu81okFyFWyxqZx1gogQ@mail.gmail.com>
To: Jatinder Mann <jmann@microsoft.com>
Cc: "public-web-perf@w3.org" <public-web-perf@w3.org>
Ah, didn't notice that text before. I don't have a strong opinion myself.
If that seems good to everyone else, I'm happy. :)

On Mon, May 7, 2012 at 11:30 AM, Jatinder Mann <jmann@microsoft.com> wrote:

>  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 20:11:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:32 UTC