w3c / resource-timing

Resource Timing
https://w3c.github.io/resource-timing/
Other
119 stars 35 forks source link

initiatorType for favicon #298

Open noamr opened 2 years ago

noamr commented 2 years ago

Currently it's "other" for chrome and Firefox, and "icon" for Safari. According the spec, it's vague what it should be (maybe "link" since it's originated from a link tag?) It's difficult to write a WPT for it since it's not straightforward to force favicon loading in Safari.

yoavweiss commented 2 years ago

Agree it'd be good to align here, but unclear on what value. /cc @npm1 @achristensen07 @bdekoz

npm1 commented 2 years ago

Other than Safari being hard, did you find what values are returned on Chrome/Firefox?

noamr commented 2 years ago

Other than Safari being hard, did you find what values are returned on Chrome/Firefox?

It returns "other" in Chrome and Firefox.

achristensen07 commented 2 years ago

I don't think it would be a big deal to change Safari to say "other" here

noamr commented 2 years ago

See also https://github.com/w3c/resource-timing/issues/299. I wonder if favicon should have a resource timing entry at all, given that it's not accessible in the document in any other way.

yoavweiss commented 2 years ago

This was discussed on the WG call.