-
Notifications
You must be signed in to change notification settings - Fork 551
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
Missing fields on Fetch PerformanceResourceTiming instance #2515
Comments
I think I found it: https://github.com/nodejs/undici/blob/main/lib/fetch/util.js#L274-L288 These are all |
And the relevant part of the spec that would be setting some of these values (such as |
Found it for real: Line 1770 in c228fdd
its just not implemented. Someone is welcome to take this on if they'd like. Otherwise I may be able to next week. |
@ronag where / how would I get access to the underlying connection and dns processes for |
I think is not doable without using Symbols to access the Socket from the For the DNS is even trickier, I don't think there's a way to intercept that without messing directly with the |
Does anyone know why the PerformanceResourceTiming instance is missing information regarding DNS and what not?
Here is an example:
That you get from a simple script like:
I tracked down the places in the source code where this gets created:
undici/lib/fetch/index.js
Lines 311 to 325 in 8422aa9
But it's still not immediately clear to me how to fix this. Any ideas?
The text was updated successfully, but these errors were encountered: