[wpt-sync] Sync PR 46437 - fonts: Remove web fonts when their stylesheet is removed
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46437 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46437
Details from upstream follow.
Martin Robinson <mrobinson@igalia.com> wrote:
fonts: Remove web fonts when their stylesheet is removed
This is the first part of ensuring that unused fonts do not leak. This
change makes it so that when a stylesheet is removed, the corresponding
web fonts are removed from theFontContext
.Note: WebRender assets are still leaked, which was the situation before
for all fonts. A followup change will fix this issue.Fixes #<!-- nolink -->15139.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com><!-- Please describe your changes on the following line: -->
Reviewed in servo/servo#32346
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Comment 1•5 months ago
|
||
Assignee | ||
Comment 2•5 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS
: 1
Chrome
PASS
: 1
Safari
PASS
: 1
Links
Comment 4•4 months ago
|
||
bugherder |
Description
•