-
Notifications
You must be signed in to change notification settings - Fork 22.9k
Closed
Labels
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Request/destination
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
MDN does a great job documenting the speculation rules API: https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API
However, it is missing the "speculationrules" request destination, which is used for requests issued from the Speculation-Rules
HTTP header. (Which is documented.)
What did you expect to see?
Something like:
"speculationrules"
The target is a speculation rules JSON document
Do you have any supporting links, references, or citations?
Existing spec:
- https://wicg.github.io/nav-speculation/speculation-rules.html#fetch
- https://wicg.github.io/nav-speculation/speculation-rules.html#pending-external-speculation-rule-resource-fetch
The plan is to move this into HTML and Fetch:
- Add the "speculationrules" destination whatwg/fetch#1841
- Add speculation rules prefetch whatwg/html#11426
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/api/request/destination
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Request/destination
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/request/destination/index.md
- Last commit: 3e543cd
- Document last modified: 2025-06-23T16:41:39.000Z