performance.timing.redirectStart has greater value thanperformance.timing.requestStart
Reported by
nn1436...@gmail.com,
Jan 25 2018
|
|||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 Steps to reproduce the problem: I don't have a pure reproduction. It seems that it happens with cross-origin redirects. When I compare performance.timing.redirectStart with performance.timing.requestStart, the redirectStart somehow has smaller value. What is the expected behavior? According to HTML5 Performance Timing specification the values are sequential and not overlapping. What went wrong? Browser doesn't behave according to spec. Did this work before? N/A Does this work in other browsers? N/A Chrome version: 63 Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 28.0 r0
,
Jan 27 2018
,
Jan 29 2018
,
Jan 29 2018
+npm@, could you take a look?
,
Jan 31 2018
The Navigation Timing spec [1] says "The following graph illustrates the timing attributes defined by the PerformanceTiming interface and the PerformanceNavigation interface with or without redirect, respectively. Attributes underlined may not be available in navigation involving documents from different origins. User agents may perform internal processing in between timings, which allow for non-normative intervals between timings." redirectEnd is underlined so if I'm interpreting correctly it is an optional attribute? And if present, does redirectEnd need to be <= requestStart? Maybe the NavigationTiming experts can answer that. [1] https://www.w3.org/TR/navigation-timing/#process
,
Jan 31 2018
It is optional. We set requestStart in step 13. We set redirectEnd in step 16, but then return to step 6 with a new resource, without clearing redirectEnd. My understanding is that this implies redirectEnd must be less than requestStart, if present.
,
Feb 5 2018
Any update ?
,
Feb 5 2018
No updates yet, I haven't figured out how to fix this.
,
Feb 6 2018
Do you know what caused this to happen ?
,
Feb 6 2018
It looks like the redirect is not properly triggering a new requestStart. Did this work properly for you on a previous version of Chrome? If it worked before, we can bisect to find the cause. But my guess is that this has never worked properly.
,
Feb 6 2018
I ran Chromium 48 and I see the same behavior there. However, there is no problem on Mac. I'll try older Chromium , hopefully find something.
,
Feb 7 2018
I checked Chromium 30 and it works fine there.
,
Feb 7 2018
Ok, thanks for looking into it! Such an old problem is probably not worth bisecting, but I'll look into the problem when I get a chance.
,
Feb 16 2018
I'll be away from speed-metrics a month, reassigning to tdresser@.
,
Mar 5 2018
It seems that this bug is not only with redirectStart but with other measurements. When I go to https://httpbin.org/redirect-to?status_code=307&url=/ performance.timing.domainLookupStart>performance.timing.requestStart true performance.timing.domainLookupEnd>performance.timing.requestStart true https://www.w3.org/TR/navigation-timing/timing-overview.png
,
Mar 19 2018
I'm not going to get to this before npm@ gets back.
,
Mar 27 2018
,
May 24 2018
Any update ?
,
May 24 2018
I think this has been fixed recently, probably by yhirano@. nn1436401@ can you check if that's the case for you on dev channel? I tested 68.0.3432.3 on Linux.
,
May 24 2018
Sorry or was it kinuko@ with https://chromium-review.googlesource.com/c/chromium/src/+/974673? I feel like there have been several fixes to nav timing recently so not sure what fixed this bug.
,
Sep 10
Ping. Any update?
,
Sep 10
This is fixed. I didn't hear back from bug reporter to confirm. |
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by nn1436...@gmail.com
, Jan 25 2018