[Webkit-unassigned] [Bug 231988] New: -apple-system font crashes safari when applied to an emoji in a canvas element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 19 15:02:38 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=231988

            Bug ID: 231988
           Summary: -apple-system font crashes safari when applied to an
                    emoji in a canvas element
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: levindixon at github.com
                CC: dino at apple.com

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>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211019/269871d0/attachment.htm>


More information about the webkit-unassigned mailing list