<?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>244480</bug_id>
          
          <creation_ts>2022-08-29 00:55:36 -0700</creation_ts>
          <short_desc>[WPE] webgl/max-active-contexts-webglcontextlost-prevent-default.html is timing out</short_desc>
          <delta_ts>2026-01-13 04:51:41 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=305355</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>244477</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Lauro Moura">lmoura</assigned_to>
          <cc>lmoura</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1894432</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2022-08-29 00:55:36 -0700</bug_when>
    <thetext>Post-ANGLE switch, the webgl/max-active-contexts-webglcontextlost-prevent-default.html test case started to time out, with the following diff:

--- /app/webkit/WebKitBuild/Release/layout-test-results/webgl/max-active-contexts-webglcontextlost-prevent-default-expected.txt
+++ /app/webkit/WebKitBuild/Release/layout-test-results/webgl/max-active-contexts-webglcontextlost-prevent-default-actual.txt
@@ -1,8 +1,8 @@
+FAIL: Timed out waiting for notifyDone to be called
+
 Test that first losing context, trying to restore it, and then doing something to really lose it does not crash.
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
-
-TEST COMPLETE: 46 PASS, 6 FAIL
 
 Running test: loseMethod: loseContext, loseMethod2: loseContext
 PASS Got webglcontextlost and restore was attempted.
@@ -44,30 +44,4 @@
 Running test: loseMethod: manyContexts, loseMethod2: nothing
 PASS Got webglcontextlost and restore was attempted.
 PASS getError was expected value: CONTEXT_LOST_WEBGL :
-PASS gl.isContextLost() is true
-PASS getError was expected value: NO_ERROR :
-Running test: loseMethod: gpuStatusFailure, loseMethod2: loseContext
-PASS Got webglcontextlost and restore was attempted.
-PASS getError was expected value: CONTEXT_LOST_WEBGL :
-FAIL getError expected: INVALID_OPERATION. Was NO_ERROR :
-FAIL Expected restore be ignored, but it was not.
-PASS getError was expected value: NO_ERROR :
-Running test: loseMethod: gpuStatusFailure, loseMethod2: manyContexts
-PASS Got webglcontextlost and restore was attempted.
-PASS getError was expected value: CONTEXT_LOST_WEBGL :
-FAIL Expected restore be ignored, but it was not.
-PASS getError was expected value: NO_ERROR :
-Running test: loseMethod: gpuStatusFailure, loseMethod2: gpuStatusFailure
-PASS Got webglcontextlost and restore was attempted.
-PASS getError was expected value: CONTEXT_LOST_WEBGL :
-FAIL Expected restore be ignored, but it was not.
-PASS getError was expected value: NO_ERROR :
-Running test: loseMethod: gpuStatusFailure, loseMethod2: nothing
-PASS Got webglcontextlost and restore was attempted.
-PASS getError was expected value: CONTEXT_LOST_WEBGL :
-FAIL Expected restore be ignored, but it was not.
-PASS getError was expected value: NO_ERROR :
-PASS successfullyParsed is true
 
-TEST COMPLETE
-</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171318</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2026-01-12 19:17:49 -0800</bug_when>
    <thetext>After the following ranges, this test stopped timing out and is back to failure state, reported in bug305355.

GTK Release
303184@main                   TIMEOUT (Expected: TIMEOUT)
303217@main                   TIMEOUT (Expected: TIMEOUT)                                                                                                   
303382@main                   TEXT (Expected: TIMEOUT)                                                                                                      
303394@main                   TEXT (Expected: TIMEOUT)

WPE Release
303247@main                   TIMEOUT (Expected: TIMEOUT)
303253@main                   TIMEOUT (Expected: TIMEOUT)          
303316@main                   TEXT (Expected: TIMEOUT)      
303355@main                   TEXT (Expected: TIMEOUT)

For the record, the debug bots never timed out, even before this range.

Gardening commit incoming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171319</commentid>
    <comment_count>2</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2026-01-12 19:28:40 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56471</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171399</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-13 04:51:41 -0800</bug_when>
    <thetext>Test gardening commit 305508@main (1572425a5aac): &lt;https://commits.webkit.org/305508@main&gt;

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

    </bug>

</bugzilla>