Bug 231988

Summary: -apple-system font crashes safari when applied to an emoji in a canvas element
Product: WebKit Reporter: Levin Dixon <levindixon>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: ap, dino
Priority: P2    
Version: Safari 15   
Hardware: Mac (Intel)   
OS: macOS 11   

Description Levin Dixon 2021-10-19 15:02:38 PDT
This example causes the tab to crash:

<!DOCTYPE html>
<html>
<body>
  <canvas id="myCanvas" width="200" height="100"></canvas>

  <script>
    var canvas = document.getElementById("myCanvas");
    var ctx = canvas.getContext("2d");
    ctx.font = "30px -apple-system";
    ctx.fillText("⚪ Grey - On hold",10,50);
  </script>
</body>
</html>
Comment 1 Alexey Proskuryakov 2021-10-19 17:47:37 PDT

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