Closed Bug 1852754 Opened 2 years ago Closed 2 years ago

Add tests for "fetchpriority" attribute for the `<link>` element

Categories

(Core :: Networking, task, P3)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: mbrodesser, Assigned: mbrodesser)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(9 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
No description provided.
Assignee: nobody → mbrodesser
Assignee: mbrodesser → nobody
Assignee: nobody → mbrodesser
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P3
Whiteboard: [necko-triaged]
No longer depends on: 1853671
See Also: → 1853671
Attachment #9353135 - Attachment description: WIP: Bug 1852754: start adding test for initial load of <link> elements → WIP: Bug 1852754: part 1) Add test for initial load of <link> elements
Attachment #9353135 - Attachment description: WIP: Bug 1852754: part 1) Add test for initial load of <link> elements → Bug 1852754: part 1) Add test for initial load of <link> elements. r=valentin
Pushed by mbrodesser@igalia.com: https://hg.mozilla.org/integration/autoland/rev/3c465f85fa76 part 1) Add test for initial load of <link> elements. r=valentin
Regressions: 1854468
Attachment #9354112 - Attachment description: WIP: Bug 1852754: part 2) Start adding test for initial load of <link rel="preload"> elements → Bug 1852754: part 3) Add tests for initial load of <link rel="preload"> elements. r=valentin

The behavior isn't specified, however MDN
(https://developer.mozilla.org/en-US/docs/Glossary/Prefetch#resource_prefetching)
states the priority of such elements should be lower than for elements
with the fetchpriority attribute.

https://web.dev/fetch-priority/#browser-priority-and-fetchpriority
states fetchpriority has no effect on this element.

For web-compatibility, that behavior is desired for Gecko too.

Depends on D189369

Pushed by mbrodesser@igalia.com: https://hg.mozilla.org/integration/autoland/rev/7bacb1135410 part 2) Add <dummy.css> to fetchpriority's `<link>` tests. r=valentin https://hg.mozilla.org/integration/autoland/rev/9a3d114c3b58 part 3) Add tests for initial load of <link rel="preload"> elements. r=valentin https://hg.mozilla.org/integration/autoland/rev/9be242c86bd9 part 4) Add tests for initial load of <link rel="modulepreload"> elements. r=valentin https://hg.mozilla.org/integration/autoland/rev/1ba31e27f3d1 part 5) Add tests for initial load of <link rel="prefetch"> elements. r=valentin https://hg.mozilla.org/integration/autoland/rev/379c5b52422d part 6) Add tests for dynamically loading <link rel="stylesheets"> elements. r=valentin https://hg.mozilla.org/integration/autoland/rev/a1682c23ad74 part 7) Add tests for dynamically loading <link rel="preload"> elements. r=valentin https://hg.mozilla.org/integration/autoland/rev/894ff85c771e part 8) Add tests for dynamically loading <link rel="modulepreload"> elements. r=valentin https://hg.mozilla.org/integration/autoland/rev/7dcf28f5cc26 part 9) Add tests for dynamically loading <link rel="prefetch"> elements. r=valentin
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Keywords: leave-open
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: