Disabling an @font-face font in macOS that’s used in a webpage crashes Firefox
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox79 | --- | disabled |
firefox80 | --- | verified |
firefox81 | --- | verified |
People
(Reporter: robin, Assigned: lsalzman)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:80.0) Gecko/20100101 Firefox/80.0
Steps to reproduce:
- Load reduced testcase in Firefox on macOS
- Open FontBook app
- Right click on Zapfino and disable it
Actual results:
Firefox crash. See for example https://crash-stats.mozilla.org/report/index/fb010147-10d7-4133-b174-eac420200701
Expected results:
No crash, and the testcase should revert to the system default font. When Zapfino is directly specified without using an @font-face rule this is the case and there’s no crash.
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
Doesn't seem to crash for me with webrender disabled; moving to WR component.
Comment 3•5 years ago
|
||
And with WR enabled, it does reproduce (note that it crashes the whole browser, not just the tab).
Reporter | ||
Comment 4•5 years ago
|
||
Oh, sorry, I thought I tested it in both modes otherwise I would have put a WR label on it, must have not restarted the browser or something. And yes, it’s whole-browser crash, not tab.
![]() |
||
Comment 5•5 years ago
|
||
Reproduces on Mac on central cc7eafcda.
Assignee | ||
Comment 6•5 years ago
|
||
Updated•5 years ago
|
![]() |
||
Comment 8•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
![]() |
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 9•5 years ago
|
||
Successfully reproduced the issue on Firefox Nightly (2020-06-30) under macOS 10.15.6 by following the STR from Comment 0.
The issue is fixed on Firefox 80.0b7 (webrender manually activated) and on Firefox Nightly 81.0a1 (2020-08-13).
Description
•