W3C home > Mailing lists > Public > public-web-perf@w3.org > May 2013

Re: navigationStart in NavigationTiming

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 01 May 2013 21:33:02 -0400
Message-ID: <5181C24E.6050702@mit.edu>
To: Arvind Jain <arvind@google.com>
CC: Jatinder Mann <jmann@microsoft.com>, "public-web-perf@w3.org" <public-web-perf@w3.org>
On 5/1/13 9:10 PM, Arvind Jain wrote:
> I see. Given that the specification is about "navigations" e.g. see the
> abstract or the processing model, do we then need to define anything for
> pages that are only "created"?

If script in an initial about:blank does 
"window.performance.timing.navigationStart", what should happen? 
Exception?  Some number returned?  If so, which one?  This does need to 
be defined, one way or another, yes.

> Is it better to say in a non-normative section that performance.timing
> and performance.navigation are undefined for "about:blank"?

That would make the above throw, which I think is actually very 
undesirable.  You'd get scripts (esp libraries) that work fine in 
general but suddenly fail if you use them inside an initial about:blank.

Received on Thursday, 2 May 2013 01:33:32 UTC

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