<?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>305355</bug_id>
          
          <creation_ts>2026-01-12 19:17:04 -0800</creation_ts>
          <short_desc>[GLIB][WebGL] webgl/max-active-contexts-webglcontextlost-prevent-default.html is failing</short_desc>
          <delta_ts>2026-01-12 19:17:49 -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>WebGL</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=244480</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>djg</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2171317</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2026-01-12 19:17:04 -0800</bug_when>
    <thetext>webgl/max-active-contexts-webglcontextlost-prevent-default.html

Was timing out for a while (check bug245840), but now is back to the following failure, which reduces the expected passes from 46 to 38 cases.

--- /sdk/webkit/layout-test-results/webgl/max-active-contexts-webglcontextlost-prevent-default-expected.txt
+++ /sdk/webkit/layout-test-results/webgl/max-active-contexts-webglcontextlost-prevent-default-actual.txt
@@ -2,7 +2,7 @@
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
-TEST COMPLETE: 46 PASS, 6 FAIL
+TEST COMPLETE: 38 PASS, 9 FAIL
 
 Running test: loseMethod: loseContext, loseMethod2: loseContext
 PASS Got webglcontextlost and restore was attempted.
@@ -47,25 +47,20 @@
 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 :
+FAIL Timed out waiting webglcontextlost that would attempt to be restored.
+PASS gl.isContextLost() is true
+FAIL getError expected: NO_ERROR. Was CONTEXT_LOST_WEBGL :
 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 :
+FAIL Timed out waiting webglcontextlost that would attempt to be restored.
+PASS gl.isContextLost() is true
+FAIL getError expected: NO_ERROR. Was CONTEXT_LOST_WEBGL :
 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.
+FAIL Timed out waiting webglcontextlost that would attempt to be restored.
+FAIL gl.isContextLost() should be true. Was false.
 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.
+FAIL Timed out waiting webglcontextlost that would attempt to be restored.
+FAIL gl.isContextLost() should be true. Was false.
 PASS getError was expected value: NO_ERROR :
 PASS successfullyParsed is true</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>