Bug 231988 - -apple-system font crashes safari when applied to an emoji in a canvas element
Summary: -apple-system font crashes safari when applied to an emoji in a canvas element
Status: RESOLVED DUPLICATE of bug 230187
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari 15
Hardware: Mac (Intel) macOS 11
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-19 15:02 PDT by Levin Dixon
Modified: 2021-10-19 17:47 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***