Bug 264930

Summary: 2D context get/putImageData cache should be aware of empty contents
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

Description Kimmo Kinnunen 2023-11-16 01:40:58 PST
2D context get/putImageData cache should be aware of empty contents

getImageData on empty canvas shouldn't result in real get
Comment 1 Radar WebKit Bug Importer 2023-11-16 01:41:08 PST
<rdar://problem/118499949>
Comment 2 Kimmo Kinnunen 2023-11-16 01:53:26 PST
Pull request: https://github.com/WebKit/WebKit/pull/20594
Comment 3 EWS 2023-12-04 01:29:26 PST
Committed 271462@main (abc23583c3fd): <https://commits.webkit.org/271462@main>

Reviewed commits have been landed. Closing PR #20594 and removing active labels.