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

Re: navigationStart and the actual start of the navigation

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 30 Jun 2014 12:16:47 -0400
Message-ID: <53B18D6F.9040305@mit.edu>
To: Przemysław Pietrzkiewicz <ppi@google.com>
CC: public-web-perf@w3.org
On 6/30/14, 9:12 AM, Przemysław Pietrzkiewicz wrote:
> "This attribute must return the time immediately after the user agent
> finishes prompting to unload the previous document. If no such prompt is
> displayed, this attribute must return the time of the user action that
> triggered the navigation."

That at least seems like a possibly useful quantity.  It doesn't address 
navigations not triggered by user actions (e.g. <meta refresh>, location 
sets off timers, etc).

Rigorously defining things like "the user action that triggered the 
navigation" in a future-proof way might be tough too...

Maybe it's worth putting in the work to get this more complex model 
defined, of course.  It really comes back to what the navigation timing 
bits are trying to measure.  Are they measuring the time somewhat under 
the control of the target server, or things completely outside its 
control (like beforeunload dialogs on previous pages or the time it 
takes a browser to spin up a new rendering context)?

Received on Monday, 30 June 2014 16:17:19 UTC

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