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: | Canvas | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sam Sneddon [:gsnedders]
*** This bug has been marked as a duplicate of bug 230187 ***