<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>244117</bug_id>
          
          <creation_ts>2022-08-19 01:42:47 -0700</creation_ts>
          <short_desc>Support willReadFrequently for CanvasRenderingContext2D</short_desc>
          <delta_ts>2024-04-19 01:19:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Canvas</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=235196</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=272963</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Jägenstedt">philip</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>dino</cc>
    
    <cc>heycam</cc>
    
    <cc>karlcow</cc>
    
    <cc>ntim</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1892380</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philip</who>
    <bug_when>2022-08-19 01:42:47 -0700</bug_when>
    <thetext>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&apos;t actually testing if willReadFrequently works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892387</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-19 03:02:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/98874533&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2021713</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-03-18 02:11:00 -0700</bug_when>
    <thetext>*** Bug 271046 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2021725</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-03-18 02:37:15 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/25936</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2028483</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-04-15 05:18:20 -0700</bug_when>
    <thetext>Committed 277494@main (fea3b372b165): &lt;https://commits.webkit.org/277494@main&gt;

Reviewed commits have been landed. Closing PR #25936 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>