Re: [whatwg/fetch] Remove "font" from initiator type value list (PR #1837)

guohuideng2024 left a comment (whatwg/fetch#1837)

I am revising/updating the "initiator type" value list. 

I think the "font" is a possible request destination, which results in a initiator type of "css". And "font" is not a "initiator type" value.

In fetch standard, "font" is supposed to be returned for "CSS' @font-face". See the table right below https://fetch.spec.whatwg.org/#request-initiator-type

But in the WPT test, it's "css" that's returned.

https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/resource-timing/initiator-type/style.html;l=42;drc=1d0cf3905ce74eae85ec01cffcb5a438bb042257

There is also a test that shows "font" (as a request destination) results in a "css" (as a initiator type)

https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/loader/fetch/resource_fetcher_test.cc;l=1615;drc=e69b5f14cabdba23eb64d347878805c04fb538d6


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1837#issuecomment-3010448950
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1837/c3010448950@github.com>

Received on Thursday, 26 June 2025 22:57:47 UTC