Bug 232043 - Regression: Safari Tab Crashing on iOS 15.0 when Japanese text is drawn onto a Canvas with -apple-system font
Summary: Regression: Safari Tab Crashing on iOS 15.0 when Japanese text is drawn onto ...
Status: RESOLVED DUPLICATE of bug 230187
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Other
Hardware: iPhone / iPad Other
: P2 Major
Assignee: Nobody
URL: https://codepen.io/jessejorgenson/pen...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-20 14:14 PDT by Jesse Jorgenson
Modified: 2021-10-21 02:11 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Jorgenson 2021-10-20 14:14:00 PDT
Minimum Repro: https://codepen.io/jessejorgenson/full/abymLLX and https://codepen.io/jessejorgenson/pen/abymLLX

When drawing text onto a Canvas via context.fillText, Safari on iOS 15 is crashing if that text is Japanese and you use `-apple-system` in your font list. If you remove `-apple-system` or the Japanese characters, the crash stops.

Notes
* I can reproduce this in both the simulator with iOS 15.0 and physical iPad with iPadOS 15.0
* We cannot reproduce this on iOS 14 and below
* I also saw the crash when using `system-ui` in the font list
Comment 1 Sam Sneddon [:gsnedders] 2021-10-21 02:11:57 PDT

*** This bug has been marked as a duplicate of bug 230187 ***