Bug 244117

Summary: Support willReadFrequently for CanvasRenderingContext2D
Product: WebKit Reporter: Philip Jägenstedt <philip>
Component: CanvasAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, dino, heycam, karlcow, ntim, sabouhallawa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=235196
https://bugs.webkit.org/show_bug.cgi?id=272963

Description Philip Jägenstedt 2022-08-19 01:42:47 PDT
This was specified in HTML here:
https://github.com/whatwg/html/pull/6764

It was implemented in Firefox 28 and in Chrome 99.

There are some tests:
https://wpt.fyi/results/html/canvas/element/manual/context-attributes/getContextAttributes.html
https://wpt.fyi/results/html/semantics/embedded-content/the-canvas-element/2d-getcontext-options.html

Unfortunately, those tests look a bit broken to me, and aren't actually testing if willReadFrequently works.
Comment 1 Radar WebKit Bug Importer 2022-08-19 03:02:19 PDT
<rdar://problem/98874533>
Comment 2 Carlos Garcia Campos 2024-03-18 02:11:00 PDT
*** Bug 271046 has been marked as a duplicate of this bug. ***
Comment 3 Carlos Garcia Campos 2024-03-18 02:37:15 PDT
Pull request: https://github.com/WebKit/WebKit/pull/25936
Comment 4 EWS 2024-04-15 05:18:20 PDT
Committed 277494@main (fea3b372b165): <https://commits.webkit.org/277494@main>

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