Closed Bug 1882084 Opened 8 months ago Closed 4 months ago

Support fetchpriority in Early Hints preloader

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: manuel, Assigned: fredw)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged], [wptsync upstream])

Attachments

(1 file)

This will probably only show minor improvements if improvements at all, but we might still want to implement it. See D197493#6954643

Whiteboard: [necko-triaged]

I haven't had time to investigate much on this, but just uploaded a patch to remember that there is some WPT tests we could probably rely on https://github.com/web-platform-tests/wpt/issues/8374#issuecomment-2085325404

Assignee: nobody → fwang
Attachment #9400388 - Attachment description: WIP: Bug 1882084 - Support fetchpriority in Early Hints preloader. → Bug 1882084 - Support fetchpriority in Early Hints preloader. r=valentin
Status: NEW → ASSIGNED

I attached a patch with tests. Good news is that when the headers of early hints is parsed the fetchpriority attribute is already taken into account for adjusting the internal priority of the request (this is what the tests verify). I haven't checked yet if something like D209236 would then be enough to take that internal priority into account for early hints too.

Attachment #9400388 - Attachment description: Bug 1882084 - Support fetchpriority in Early Hints preloader. r=valentin → Bug 1882084 - Add WPT tests for fetchpriority in early hints preload. r=valentin
Depends on: 1892734

(In reply to Frédéric Wang (:fredw) from comment #3)

I haven't checked yet if something like D209236 would then be enough to take that internal priority into account for early hints too.

Talking to valentin, such tests are probably not necessary so I'll land the patch as is.

Pushed by fwang@igalia.com: https://hg.mozilla.org/integration/autoland/rev/dc3dee64abfb Add WPT tests for fetchpriority in early hints preload. r=valentin
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46629 for changes under testing/web-platform/tests
Whiteboard: [necko-triaged] → [necko-triaged], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: