w3c / resource-timing

Resource Timing
https://w3c.github.io/resource-timing/
Other
122 stars 37 forks source link

PerformanceResourceTimings never published, nondeterministically #227

Closed bmk5cc closed 4 years ago

bmk5cc commented 4 years ago

Not sure if this would be the place to open up this issue (perhaps it would go to individual browsers), but it seems like all browsers on iOS have a bug where the PerformanceResourceTimings never get published for a particular request, nondeterministically. This doesn't occur on Android. Also occurs on safari on desktop. Images below are from safari (had to block out some private info).

Screen Shot 2020-03-30 at 4 03 16 PM

In the image above, on the last line, we see the network request for 75cf70-fb77-8d5b-fbc4-25bfad86dba1-2

Note the -2

Screen Shot 2020-03-30 at 4 35 30 PM

We also see the performance timings for the -2 request in the network tab.

Screen Shot 2020-03-30 at 4 02 56 PM

Yet the performance timings are missing from performance.getEntries() which I output in the console (the blacked out stuff is the same between the console output and network tab). I have a loop running every second, checking if the timing exists, but even after over an hour it never appears. We can see in the timings array, the -1 appears, yet the -2 never appears. I have requests going from -0, -1, to -2.

This happens nondeterministically.

rniwa commented 4 years ago

All browsers on iOS use WebKit as the browser engine. Please report bugs on bugs.webkit.org.

This repository is to track the standards discussions of PerformanceResourceTimings, not bugs in particular implementations.