<?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>277234</bug_id>
          
          <creation_ts>2024-07-28 12:55:53 -0700</creation_ts>
          <short_desc>http/tests/canvas/ctx.2d-canvas-style-no-document-leak.html is flaky failure</short_desc>
          <delta_ts>2024-07-29 14:12:58 -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>Tools / Tests</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=256262</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=277263</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Ryan Reno">rreno</assigned_to>
          <cc>rreno</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2048975</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-07-28 12:55:53 -0700</bug_when>
    <thetext>http/tests/canvas/ctx.2d-canvas-style-no-document-leak.html is flaky failure

History:
  https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fcanvas%2Fctx.2d-canvas-style-no-document-leak.html

Buildbot: builder Apple-Sonoma-Release-WK2-Tests build 2831 : 278780@main
https://build.webkit.org/#/builders/926/builds/2831

https://build.webkit.org/results/Apple-Sonoma-Release-WK2-Tests/278780@main%20(2831)/http/tests/canvas/ctx.2d-canvas-style-no-document-leak-diff.txt

--- /Volumes/Data/worker/Apple-Sonoma-Release-WK2-Tests/build/layout-test-results/http/tests/canvas/ctx.2d-canvas-style-no-document-leak-expected.txt
+++ /Volumes/Data/worker/Apple-Sonoma-Release-WK2-Tests/build/layout-test-results/http/tests/canvas/ctx.2d-canvas-style-no-document-leak-actual.txt
@@ -6,7 +6,7 @@
 PASS internals.isDocumentAlive(frameDocumentID) is true
 PASS internals.isDocumentAlive(frameDocumentID) is true
 PASS internals.isDocumentAlive(frameDocumentID) is true
-PASS The iframe document didn&apos;t leak.
+FAIL The iframe document leaked.
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048977</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-07-28 12:58:43 -0700</bug_when>
    <thetext>This test was added by 263774@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048978</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-07-28 13:29:29 -0700</bug_when>
    <thetext>This test case has only a single iframe. It should create more iframes like document-leak-test.js does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049106</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2024-07-29 08:26:17 -0700</bug_when>
    <thetext>Yes, this test should be rewritten to use the document-leak-test.js helper. I&apos;ll put a patch up for review shortly. Thanks for catching that. There&apos;s a couple of other tests I can rewrite - the one for ReportingObserver callbacks (which is where document-leak-test.js was adopted from), geolocation callbacks, and probably the one for MediaSession Action Handlers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049109</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-07-29 08:44:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/132725257&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049113</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2024-07-29 08:49:09 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/31395</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049200</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-07-29 14:12:56 -0700</bug_when>
    <thetext>Committed 281523@main (148e56013b45): &lt;https://commits.webkit.org/281523@main&gt;

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

    </bug>

</bugzilla>