fix(PerformanceResourceTiming): clarify startTime is not always fetchStart - #45544
Open
BaconMan1168 wants to merge 1 commit into
Open
fix(PerformanceResourceTiming): clarify startTime is not always fetchStart#45544BaconMan1168 wants to merge 1 commit into
BaconMan1168 wants to merge 1 commit into
Conversation
…Start The startTime bullet claimed the value is equivalent to fetchStart, which contradicted the timestamp diagram below it. The two only coincide when there are no HTTP redirects, since fetchStart is the time immediately before the final resource in the redirection is fetched.
BaconMan1168
requested review from
sideshowbarker
and removed request for
a team
September 7, 2026 04:01
Contributor
|
Preview URLs (1 page) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
PerformanceEntry.startTimebullet on thePerformanceResourceTimingpage stated that the value is equivalent toPerformanceResourceTiming.fetchStart. It now explains that the two are equal only when there are no HTTP redirects.Motivation
The claim contradicted the timestamp diagram directly below it, which places
startTimebefore the redirect phase andfetchStartafter it. Readers had no way to tell which one was right.Per the Resource Timing spec, a resource entry's
startTimecomes from the fetch timing info's start time, whilefetchStartreturns the post-redirect start time, so the values diverge as soon as a redirect is involved. The new text reuses the redirect caveat already documented on thefetchStartsubpage.Additional details
fetchStartgetter steps are to convert fetch timestamp for this's timing info's post-redirect start time")files/en-us/web/api/performanceresourcetiming/fetchstart/index.mdRelated issues and pull requests
Fixes #43903