[Webkit-unassigned] [Bug 256151] New: Canvas putImageData draws onto wrong canvas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 30 10:51:58 PDT 2023


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

            Bug ID: 256151
           Summary: Canvas putImageData draws onto wrong canvas
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bitbof at gmail.com
                CC: dino at apple.com

Created attachment 466149

  --> https://bugs.webkit.org/attachment.cgi?id=466149&action=review

demo of bug

Observed on:
- MacBook Air M1: MacOS 12.4 Safari 15.5, MacOS 13.3.1 Safari 16.4
- iPad 2019: iPadOS 15.4.1, iPadOS 16.4.1
- iPhone SE 2022: iOS 16.3
(non-WebKit browsers not affected)

Steps:
- Create 2 canvases: canvas A, and canvas B.
- Draw canvas A on canvas B.
- Create ImageData with any data (here it's noise).
- putImageData onto canvas A.

Expected:
- ImageData is only drawn onto canvas A.

Actual:
- It is also drawn on canvas B.

Demo page: https://bitbof.github.io/browser-bug-demos/2023-04-30-safari-putimagedata/

-- 
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/20230430/973c96cc/attachment.htm>


More information about the webkit-unassigned mailing list