Bug 231686
| Summary: | Browser crashes when drawing Japanese text on a canvas with some fonts | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mouad Debbar <mouad.debbar> |
| Component: | Canvas | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Major | CC: | dino, mmaxfield, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | iPhone / iPad | ||
| OS: | Other | ||
Mouad Debbar
## TL;DR
Repro: https://jsfiddle.net/9w2u1z7k/9/show
Simply load the repro link above on an iPhone iOS 15 Safari. The browser will crash.
Older versions of iOS work fine, so this is a regression in iOS 15.
## Details
When drawing Japanese or Chinese text on a canvas (e.g. "こんにちは世界" or "測試") with a font chain that includes "-apple-system", the browser crashes.
The problem disappears if the text is in English (e.g. "Hello World").
The problem also disappears if "-apple-system" is removed from the font family chain.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/84213820>
Alexey Proskuryakov
Duplicate of bug 230187?
Wenson Hsieh
(In reply to Alexey Proskuryakov from comment #2)
> Duplicate of bug 230187?
I've confirmed that it does not reproduce for me on a build of macOS that contains that fix.
I think it's safe to assume that it's a dupe of #230187.
Myles C. Maxfield
*** This bug has been marked as a duplicate of bug 230187 ***