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

Re: Where are instances of PerformanceNavigationTiming created?

From: Philippe Le Hegaret <plh@w3.org>
Date: Fri, 13 Jun 2014 12:41:54 -0400
Message-ID: <1402677714.2828.14.camel@chacal>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: "public-web-perf@w3.org" <public-web-perf@w3.org>
On Thu, 2014-06-12 at 10:43 -0400, Boris Zbarsky wrote:
> I see nothing anywhere in 
> https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming2/Overview.html 
> that creates instances of PerformanceNavigationTiming.  Should there be 
> something?  There are examples that claim that such instances should 
> exist and that performance.getEntriesByType should be able to find them, 
> but I see no normative basis for that claim.

You get an instance of PerformanceNavigationTiming by accessing
window.performance.navigation. That interface doesn't inherit from
PerformanceEntry and isn't meant to be accessed using getEntriesByType.
Are you saying it should?

Received on Friday, 13 June 2014 16:41:56 UTC

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