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

RE: Update of Navigation Timing CR draft

From: Jatinder Mann <jmann@microsoft.com>
Date: Wed, 11 Jan 2012 20:45:24 +0000
To: Philippe Le Hegaret <plh@w3.org>, Zhiheng Wang <zhihengw@google.com>
CC: public-web-perf <public-web-perf@w3.org>
Message-ID: <EE4C13A1D11CFA49A58343DE361B0B04136E4AF7@TK5EX14MBXC253.redmond.corp.microsoft.com>
The constant PERF_NAVIGATION was initially added for use with the Performance Timeline model - the getEntriesByType and getEntriesByName take an entryType that describe the type of performance metric requested. Initially, entryTypes were shorts and required integer constants. We later changed most constants to strings, but it appears this one was missed.

Per ACTION-59, we are removing all string constants. As a part of that change, I have removed all constants (e.g., PERF_RESOURCE, PERF_DEVELOPER_MARK, and PERF_DEVELOPER_MEASURE). Instead, one can call getEntriesByType with a string directly. E.g., getEntriesByType("resource").

I think it's safe to say we can remove PERF_NAVIGATION from Navigation Timing. Section 4.5 The PerformanceTiming interface in the Performance Timeline spec, http://www.w3.org/TR/2011/WD-performance-timeline-20110811/, should define what the PerformanceEntry for Navigation Timing looks like.


-----Original Message-----
From: Philippe Le Hegaret [mailto:plh@w3.org] 
Sent: Wednesday, January 11, 2012 11:55 AM
To: Zhiheng Wang
Cc: public-web-perf
Subject: Re: Update of Navigation Timing CR draft


what is PERF_NAVIGATION in Navigation Timing? It has been introduced since June last year and its meaning is not defined in the spec. Are we using it somewhere?



Received on Wednesday, 11 January 2012 21:38:47 UTC

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