w3c / navigation-timing

Navigation Timing
https://w3c.github.io/navigation-timing/
Other
116 stars 30 forks source link

list of possible initiator types from the resource timing API? #145

Closed ThierryMajutec closed 3 years ago

ThierryMajutec commented 3 years ago

Is there any available list of initiator types supported by the resource timing API ? For example, I see things like "internal" as initiator type from this API in measures I perform, but do not find any available literature.

npm1 commented 3 years ago

I think there was one before... @noamr could we add a note explaining this a bit? It seems to come from mark resource timing but someone reading the spec cannot know where that is being invoked.

noamr commented 3 years ago

This is a big TODO item here: https://github.com/whatwg/html/issues/6542 The different resource-timing reporters need to send their initiator type when they're ready to report. It's a pretty big list, as an initiator type can be an element's tag name.

noamr commented 3 years ago

Marking as duplicate of https://github.com/w3c/resource-timing/issues/276. Please also follow https://github.com/whatwg/html/issues/6542 if interested in the specifics.