Skip to content
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

List of initiatorType types #364

Open
Elchi3 opened this issue Nov 25, 2022 · 2 comments
Open

List of initiatorType types #364

Elchi3 opened this issue Nov 25, 2022 · 2 comments

Comments

@Elchi3
Copy link

Elchi3 commented Nov 25, 2022

As part of a project to update MDN's Performance API docs (openwebdocs/project#62), I updated https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/initiatorType.

The Resource Timing spec contains a non-normative note listing initiatorType types: https://w3c.github.io/resource-timing/#dom-performanceresourcetiming-initiatortype. I believe a normative list of types is in the Fetch spec: https://fetch.spec.whatwg.org/#request-initiator-type. Is that correct?

If so, would it be a good idea to include the following types in the Resource Timing note?

  • body
  • early-hint (or early-hints, the Fetch spec and Chrome seem to diverge here.)
  • embed
  • font
  • link
  • object
  • ping

The Fetch spec doesn't include the following type but the Resource Timing note lists it. Is it defined elsewhere?

  • a
  • navigation (defined in Navigation Timing)
@yoavweiss
Copy link
Contributor

If so, would it be a good idea to include the following types in the Resource Timing note?

  • body
  • early-hint (or early-hints, the Fetch spec and Chrome seem to diverge here.)
  • embed
  • font
  • link
  • object
  • ping

@noamr - are all these types valid initiator type values? I'm somewhat surprised by some of them (e.g. "body" & "font")

@noamr
Copy link
Contributor

noamr commented Dec 9, 2022

If so, would it be a good idea to include the following types in the Resource Timing note?

  • body
  • early-hint (or early-hints, the Fetch spec and Chrome seem to diverge here.)
  • embed
  • font
  • link
  • object
  • ping

@noamr - are all these types valid initiator type values? I'm somewhat surprised by some of them (e.g. "body" & "font")

Font face="..."
Though I have to make sure...

Body background="..."
For sure

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

No branches or pull requests

3 participants