Closed
Bug 1492220
Opened 7 years ago
Closed 7 years ago
Tab crashes when visiting v-fonts
Categories
(Core :: Layout: Text and Fonts, defect, P1)
Tracking
()
VERIFIED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox62 | --- | unaffected |
firefox63 | --- | unaffected |
firefox64 | --- | verified |
People
(Reporter: mbalfanz, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(2 files)
84.46 KB,
image/png
|
Details | |
1.14 KB,
patch
|
lsalzman
:
review+
|
Details | Diff | Splinter Review |
Visiting v-fonts.com with the latest Nightly on OS X 10.13.6 crashes the tab.
Here is my crash report: https://crash-stats.mozilla.com/report/index/e9306b6b-01c1-4415-93f0-0c7fd0180918
Not sure if it's related, but axis names of variable fonts started to render with a special character in the devtools (see screenshot).
Assignee | ||
Comment 1•7 years ago
|
||
Ugh, this may well be a regression from bug 1490402 or one of the other recent changes to how we handle font-related names. Will try to investigate...
Comment 2•7 years ago
|
||
I also hit a crash on this site a while back and filed bug 1491030, but I did get a different signature.
Assignee | ||
Comment 3•7 years ago
|
||
Yep, definitely a regression from bug 1490402, mixing utf-16 and utf-8 strings incorrectly. In most cases the compiler would have flagged such a mismatch, but the explicit cast here (because the macOS APIs use their own UniChar type) defeated that and meant this one slipped through.
Attachment #9010037 -
Flags: review?(lsalzman)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Assignee | ||
Updated•7 years ago
|
Updated•7 years ago
|
Attachment #9010037 -
Flags: review?(lsalzman) → review+
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2db71467a0b8
Fix encoding-form mismatch in macOS impl of GetVariationAxes. r=lsalzman
Comment 6•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•7 years ago
|
status-firefox62:
--- → unaffected
status-firefox63:
--- → unaffected
status-firefox-esr60:
--- → unaffected
Updated•6 years ago
|
Flags: qe-verify+
Comment 7•6 years ago
|
||
Reproduced the crashes on MacOS 10.13.6 and MacOs 10.14 using Nightly build from 2018-09-18.
Verified as fixed on MacOS 10.13, macOS 10.14, macOS 10.11 with 64.0b4 build.
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•