Bug 244480

Summary: [WPE] webgl/max-active-contexts-webglcontextlost-prevent-default.html is timing out
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal Keywords: LayoutTestFailure
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 244477    

Description Zan Dobersek 2022-08-29 00:55:36 PDT
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 "PASS" messages, followed by "TEST COMPLETE".
-
-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
-