Skip to content

Update Handle Fetch to return timing info #1772

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

quasi-mod
Copy link
Contributor

@quasi-mod quasi-mod commented May 28, 2025

@quasi-mod
Copy link
Contributor Author

This PR fixes the Handle Fetch algorithm to propagate timingInfo even when are fallback to the network (i.e. Handle Fetch will return NULL).

@quasi-mod
Copy link
Contributor Author

@yoshisatoyanagisawa @domenic , Could you take a look and see if this is OK?

@yoshisatoyanagisawa
Copy link
Collaborator

lgtm
Do you have a corresponding fetch specification pull request?

@yoshisatoyanagisawa yoshisatoyanagisawa self-requested a review May 29, 2025 04:35
@quasi-mod
Copy link
Contributor Author

Thanks, here is an ongoing change (not a PR yet, since we do not have the signal from other vendors yet)

https://github.com/quasi-mod/fetch/tree/resource-timing/01/expose-service-worker-timing

@yoshisatoyanagisawa
Copy link
Collaborator

Thanks for the link, the new return value makes sense to me.

@yoshisatoyanagisawa yoshisatoyanagisawa merged commit 4e9d705 into w3c:main May 29, 2025
2 checks passed
github-actions bot added a commit that referenced this pull request May 29, 2025
SHA: 4e9d705
Reason: push, by yoshisatoyanagisawa

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit to yoshisatoyanagisawa/ServiceWorker that referenced this pull request May 29, 2025
SHA: 4e9d705
Reason: push, by yoshisatoyanagisawa

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants