Closed Bug 1803746 Opened 2 years ago Closed 2 years ago

Early Hints: make crossorigin requirements same as in PreloadService for fetch and font

Categories

(Core :: Networking: HTTP, task, P2)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: manuel, Assigned: manuel)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

To not start preloads, which won't be connected in PreloadService.

Also described on mdn:

When preloading resources that are fetched with CORS enabled (e.g. fetch(),
XMLHttpRequest or fonts), special care needs to be taken to setting the
crossorigin attribute on your <link> element. The attribute needs to be set
to match the resource's CORS and credentials mode, even when the fetch is
not cross-origin.

https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload#cors-enabled_fetches

Assignee: nobody → manuel
Status: NEW → ASSIGNED
Pushed by nfay@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/72570ac420f0 Early Hints: require crossorigin anonymous for fetch and font r=necko-reviewers,kershaw
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: