Bug 232043

Summary: Regression: Safari Tab Crashing on iOS 15.0 when Japanese text is drawn onto a Canvas with -apple-system font
Product: WebKit Reporter: Jesse Jorgenson <jjorgenson>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: dino
Priority: P2    
Version: Other   
Hardware: iPhone / iPad   
OS: Other   
URL: https://codepen.io/jessejorgenson/pen/abymLLX

Jesse Jorgenson
Reported 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
Attachments
Sam Sneddon [:gsnedders]
Comment 1 2021-10-21 02:11:57 PDT
*** This bug has been marked as a duplicate of bug 230187 ***
Note You need to log in before you can comment on or make changes to this bug.