W3C home > Mailing lists > Public > public-web-perf@w3.org > October 2010

Re: [Open Issue] Privacy concern with Navigation Timing

From: Sigbjørn Vik <sigbjorn@opera.com>
Date: Fri, 22 Oct 2010 10:48:44 +0200
To: public-web-perf@w3.org
Message-ID: <op.vkyyrilc41y844@id-c0735.oslo.opera.com>
On Fri, 22 Oct 2010 10:07:43 +0200, Zhiheng Wang <zhihengw@google.com>  
wrote:

> On Thu, Oct 21, 2010 at 7:46 AM, Sigbjørn Vik <sigbjorn@opera.com> wrote:

>> "If no domain lookup is required, go to step 11. Otherwise, immediately
>> before a user agent starts the domain name lookup, record the time as
>> domainLookupStart."
>> This gets confusing in the case of a half-finished DNS prefetch.
>
>
>    Could you please elaborate here?

I am uncertain to what the intended results are after a DNS prefetch, and  
how the algorithm gets there.

I would expect the preferred method to be that domainLookupStart should  
equal fetchStart (or the actual start), and domainLookupEnd the actual  
end. But I see no way through the algorithm to set domainLookupEnd,  
without requiring the implementation to set domainLookupStart to a new  
time, which would be wrong in either case.

One possible fix (this will leave domainLookupStart equal to fetchStart),  
is the following.
"Step n: If no domain lookup is required, go to step n+2. If domain lookup  
was started before fetchStart, go to step n+1. Otherwise, set  
domainLookupStart.
Step n+1: Set domainLookupEnd."



-- 
Sigbjørn Vik
Quality Assurance
Opera Software
Received on Friday, 22 October 2010 08:49:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 December 2010 18:13:55 GMT