W3C home > Mailing lists > Public > public-web-perf@w3.org > June 2014

Re: Where are instances of PerformanceNavigationTiming created?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 13 Jun 2014 12:53:02 -0400
Message-ID: <539B2C6E.6090000@mit.edu>
To: Philippe Le Hegaret <plh@w3.org>
CC: "public-web-perf@w3.org" <public-web-perf@w3.org>
On 6/13/14, 12:41 PM, Philippe Le Hegaret wrote:
> You get an instance of PerformanceNavigationTiming by accessing
> window.performance.navigation.

Where is that specified?

> That interface doesn't inherit from
> PerformanceEntry

That's not what 
https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming2/Overview.html#performancenavigationtiming 
says.

> and isn't meant to be accessed using getEntriesByType.

That's not what the example at the end of 
https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming2/Overview.html#introduction 
says.

Note that the document I'm looking at links to itself as "Latest 
Editor's Draft" and is linked from 
http://www.w3.org/TR/navigation-timing-2/ as "Latest Editor's draft". 
But I just noticed that it has an earlier publication date than the TR 
version, which is ... odd.

That said, in the TR version we have the same IDL and the same example, 
and still no indication that window.performance.navigation exists, or 
implements PerformanceNavigationTiming.

window.performance.navigation _is_ defined in 
http://www.w3.org/TR/navigation-timing/#sec-window.performance-attribute 
(which conflicts with the definition in Navigation Timing 2, yay), but 
there is no mention of PerformanceNavigationTiming there either.

> Are you saying it should?

No, I'm saying right now nothing I can find specifies that a 
PerformanceNavigationTiming object is ever created anywhere.

-Boris
Received on Friday, 13 June 2014 16:53:30 UTC

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