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

Re: Specifying window.performance.now()

From: Tony Gentilcore <tonyg@google.com>
Date: Wed, 29 Feb 2012 11:17:54 +0000
Message-ID: <CANvLf_Hk92PBS+E-B_CUp-pZ_k0v3_hrWz3nJRoO=OZY+fjT-A@mail.gmail.com>
To: Sigbjørn Vik <sigbjorn@opera.com>
Cc: public-web-perf@w3.org
> "the number of milliseconds from the start of the navigation of the root
> document"
> Is the "start of the navigation" well enough defined? Should we link it to
> one of the other performance specs to tie it down absolutely?
> This also allows a cross-origin iframe to tell how long the parent has been
> alive, which I believe is not possible now. This is a slight privacy leak,
> which can easily be avoided. For instance remove "root" from the statement,
> or change it to "the topmost same-origin document", with a suitable
> definition of same-origin. I believe the second is better, it is useful for
> same-origin documents to have the same timestamps. For cross-origin
> documents this should normally not be required. This should also be recorded
> in the privacy section.


Actually, I'd expect this to be relative to
, which is unique for every document -- even same origin.

Received on Wednesday, 29 February 2012 11:18:57 UTC

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