Open Bug 1809145 Opened 2 years ago Updated 2 years ago

Early Hints: Cancel Preload from DocumentLoadListener when main document has new CSP requirements.

Categories

(Core :: Networking: HTTP, enhancement, P3)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: manuel, Assigned: manuel)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

With Bug 1804034 we cancel the request only with the Timer. We could cancel them when we know new CSP requirements in DocumentLoadListener and could pass them to EarlyHintsService.

Assignee: nobody → manuel
Status: NEW → ASSIGNED

I've found this to be non-trivial. The csp requirements can be specified either in http headers (easy) or in the html body (hard, because not available in parent process when passing the early hints to content process).

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: