Mirko Brodesser
4872b52de5
Bug 1865610: part 10) Add fetchpriority attribute support for rel=preload as=fetch and rel=preload as=font. r=emilio,valentin
...
Previously, for `rel=preload as=fetch`, the internal priority,
`nsISupportsPriority`, was not adjusted. Now, the adjustment happens in
`FetchPreloader::CreateChannel`.
For `rel=preload as=font`, previously, the internal priority was always
set to high in `FontLoaderUtils::BuildChannelSetup`. Now, the internal
priority is a parameter, whose value potentially depends on the
`fetchpriority` attribute.
Note the minor correction of calling `SetPriority` instead of
`AdjustPriority` in `FontLoaderUtils::BuildChannelSetup`.
Differential Revision: https://phabricator.services.mozilla.com/D194205
2023-11-30 15:00:10 +00:00
Mirko Brodesser
e43df7659e
Bug 1864861: part 1) Factor general font loading code out to FontLoaderUtils. r=jfkthame
...
Removes the dependency of font-face loading code to `FontPreloader`.
The latter's purpose is to preload fonts.
The code was just moved with includes updated.
Differential Revision: https://phabricator.services.mozilla.com/D193789
2023-11-20 10:38:22 +00:00
Mirko Brodesser
40720ba15d
Bug 1864436: remove unused FontPreloader::PrioritizeAsPreload. r=manuel
...
Differential Revision: https://phabricator.services.mozilla.com/D193669
2023-11-16 08:35:13 +00:00
Mirko Brodesser
1dd1e649f9
Bug 1839315: part 3) Remove no-op method PreloaderBase::PrioritizeAsPreload. r=necko-reviewers,valentin
...
Because it's confusing.
Differential Revision: https://phabricator.services.mozilla.com/D190015
2023-10-11 10:21:56 +00:00
Jonathan Kew
a90bfe301c
Bug 1852587 - Disable font preloads if the downloadable_fonts pref is turned off. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D188113
2023-09-14 09:34:22 +00:00
Emilio Cobos Álvarez
8dabbf6590
Bug 1823686 - Share URLExtraData between SVG attribute mapping and style attribute. r=smaug
...
I don't think there's ever a way these should differ.
Got some include hell from removing ReferrerInfo.h from Document.h but
hopefully should be straight-forward to review.
Depends on D173154
Differential Revision: https://phabricator.services.mozilla.com/D173155
2023-03-22 14:54:43 +00:00
Manuel Bucher
3fc1d3328e
Bug 1771867 - Early Hints Phase 2 - Part 4: Pass early hint preload to fetch and font preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161174
2022-12-02 16:15:54 +00:00
Csoregi Natalia
51f523d872
Backed out 13 changesets (bug 1771867) for causing CanonicalBrowsingContext crashes. CLOSED TREE
...
Backed out changeset 120838b58449 (bug 1771867)
Backed out changeset aea7ca0bbd17 (bug 1771867)
Backed out changeset 2fe2afdee09d (bug 1771867)
Backed out changeset 8bdb1f682d22 (bug 1771867)
Backed out changeset a9f3158ed688 (bug 1771867)
Backed out changeset 1177913e1edf (bug 1771867)
Backed out changeset d33ccbbf407d (bug 1771867)
Backed out changeset 110ac12e16f5 (bug 1771867)
Backed out changeset 7f20525f5e94 (bug 1771867)
Backed out changeset b3d65b1aa872 (bug 1771867)
Backed out changeset 7cdf3cef2773 (bug 1771867)
Backed out changeset 5090eae24a5c (bug 1771867)
Backed out changeset f8a03d226c73 (bug 1771867)
2022-12-02 13:44:55 +02:00
Manuel Bucher
eee549ba87
Bug 1771867 - Early Hints Phase 2 - Part 4: Pass early hint preload to fetch and font preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161174
2022-12-02 09:45:25 +00:00
Jonathan Kew
47d4aa9c51
Bug 650372 - Use the style-system format hint directly in gfx, instead of mapping to a separate internal enum. r=gfx-reviewers,aosmond,lsalzman
...
Now that the style system has keywords for this, we don't need to define them in gfx
but can just use the enum directly. (No functional change, just code simplification.)
Depends on D154237
Differential Revision: https://phabricator.services.mozilla.com/D154238
2022-08-12 11:25:59 +00:00
Jonathan Kew
99fa0ff816
Bug 1784058 - Simplify @font-face format hint handling in gfx/thebes, now that it is explicitly only a single hint, not a set. r=gfx-reviewers,aosmond,lsalzman
...
No functional change, just simplifying the code a bit.
Depends on D154235
Differential Revision: https://phabricator.services.mozilla.com/D154236
2022-08-12 11:25:58 +00:00
Iulian Moraru
b2a2b27770
Backed out 7 changesets (bug 1784058, bug 650372) for causing wpt failures on format-specifiers-variations.html. CLOSED TREE
...
Backed out changeset 2aa97ebc8593 (bug 650372)
Backed out changeset 41d1c62f11ac (bug 650372)
Backed out changeset 8340c08ff8b6 (bug 650372)
Backed out changeset cbe59d9bbcbb (bug 1784058)
Backed out changeset 40b00a214019 (bug 1784058)
Backed out changeset 714d84a2680a (bug 1784058)
Backed out changeset e5b24489d365 (bug 1784058)
2022-08-11 23:24:20 +03:00
Jonathan Kew
4a84154178
Bug 650372 - Use the style-system format hint directly in gfx, instead of mapping to a separate internal enum. r=gfx-reviewers,aosmond,lsalzman
...
Now that the style system has keywords for this, we don't need to define them in gfx
but can just use the enum directly. (No functional change, just code simplification.)
Depends on D154237
Differential Revision: https://phabricator.services.mozilla.com/D154238
2022-08-11 18:03:58 +00:00
Jonathan Kew
427c3abb12
Bug 1784058 - Simplify @font-face format hint handling in gfx/thebes, now that it is explicitly only a single hint, not a set. r=gfx-reviewers,aosmond,lsalzman
...
No functional change, just simplifying the code a bit.
Depends on D154235
Differential Revision: https://phabricator.services.mozilla.com/D154236
2022-08-11 18:03:57 +00:00
Cristian Tuns
96ac2d4fa3
Backed out 7 changesets (bug 650372, bug 1784058) for causing reftest failures on variation-format-hint-1a.html CLOSED TREE
...
Backed out changeset c78a59ace7ec (bug 650372)
Backed out changeset eea47293ce56 (bug 650372)
Backed out changeset e978496c7ea0 (bug 650372)
Backed out changeset 597837e9753f (bug 1784058)
Backed out changeset 6d71bcfcc1a1 (bug 1784058)
Backed out changeset 5d21f6e4f8e0 (bug 1784058)
Backed out changeset 35634f66cb37 (bug 1784058)
2022-08-11 10:28:40 -04:00
Jonathan Kew
694a39cdd0
Bug 650372 - Use the style-system format hint directly in gfx, instead of mapping to a separate internal enum. r=gfx-reviewers,aosmond,lsalzman
...
Now that the style system has keywords for this, we don't need to define them in gfx
but can just use the enum directly. (No functional change, just code simplification.)
Differential Revision: https://phabricator.services.mozilla.com/D154238
2022-08-11 13:10:04 +00:00
Jonathan Kew
c4d2d51e9f
Bug 1784058 - Simplify @font-face format hint handling in gfx/thebes, now that it is explicitly only a single hint, not a set. r=gfx-reviewers,aosmond,lsalzman
...
No functional change, just simplifying the code a bit.
Differential Revision: https://phabricator.services.mozilla.com/D154236
2022-08-11 13:10:02 +00:00
Andrew Osmond
640cf989f7
Bug 1072107 - Part 1. Expose method to load user fonts from workers. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D149244
2022-07-07 21:24:08 +00:00
Manuel Bucher
fe159c57a3
Bug 1761242 - Expose computing security flags for early hint preloader r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D144798
2022-06-15 09:59:44 +00:00
Molnar Sandor
cd7c15e45b
Backed out 5 changesets (bug 1761242, bug 1744822, bug 1761252) for causing browser-chrome failures in netwerk/test/browser/browser_103_assets.js CLOSED TREE
...
Backed out changeset 33cc08eb51b3 (bug 1744822)
Backed out changeset b70697d24e75 (bug 1761252)
Backed out changeset 4a5e10110c6a (bug 1761242)
Backed out changeset 7cda175b833d (bug 1761242)
Backed out changeset 4f5ed111093b (bug 1761242)
2022-06-08 18:56:35 +03:00
Manuel Bucher
77458730d0
Bug 1761242 - Expose computing security flags for early hint preloader r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D144798
2022-06-08 14:33:10 +00:00
Daniel Holbert
781ff15964
Bug 1754095: Fix non-unified build errors in layout/style, and mark it as safe to build in non-unified mode. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D138082
2022-02-08 00:35:19 +00:00
Simon Giesecke
46908cfb51
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Frederik Braun
617d3006d9
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Liang-Heng Chen
1f7ef71879
Bug 1647732 - isolate font cache; r=baku,jfkthame,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82034
2020-07-10 10:28:40 +00:00
Csoregi Natalia
02adadcc4f
Backed out changeset 4ed5a0e27c05 (bug 1647732) for font related wpt failures. CLOSED TREE
2020-07-07 12:31:27 +03:00
Liang-Heng Chen
d24b91b2b5
Bug 1647732 - isolate font cache; r=baku,jfkthame,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82034
2020-07-07 07:49:38 +00:00
Simon Giesecke
a69d79b6db
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Honza Bambas
58712a68b4
Bug 1618536 - Preload for fonts, r=heycam,hsivonen
...
Depends on D72118
Differential Revision: https://phabricator.services.mozilla.com/D70235
2020-05-11 14:14:32 +00:00