Bug 244117 - Support willReadFrequently for CanvasRenderingContext2D
Summary: Support willReadFrequently for CanvasRenderingContext2D
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
URL:
Keywords: BrowserCompat, InRadar
: 271046 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-08-19 01:42 PDT by Philip Jägenstedt
Modified: 2024-04-19 01:19 PDT (History)
8 users (show)

See Also:


Attachments

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