-
Notifications
You must be signed in to change notification settings - Fork 336
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
prefetch
initiator appears to be unused
#1008
Comments
It's used in whatwg/html#4115, which never landed, but which we should get back to. /cc @domfarolino |
https://w3c.github.io/webappsec-csp/ uses it as well. |
@annevk Sorry, by "uses" I meant that nothing creates such requests. CSP switches on request having an initiator of |
Ah okay, so in part the history here is that browsers shipped a bunch of things without standardizing them properly and we've been slowly trying to fix that. (Another large hole here is that CSS doesn't really call into fetch.) |
cc @noamr |
whatwg/html#8111 fixes this. |
This part of the fetch spec says that requests have an associated initiator, for which one of the possible values is
prefetch
(added in #659, so cc @yoavweiss and @annevk as the most likely people to know abou this). A table shortly below it says thatprefetch
initiator is used for "HTML’s <link rel=prefetch>". But neither the HTML spec nor the resource hints spec (the only other place I could think where it would be defined) make any mention of this. The resource hints spec doesn't even mention initiators at all.Is there somewhere else I should be looking?
The text was updated successfully, but these errors were encountered: