Bug 223345

Summary: webgl/2.0.1/conformance2/context/context-mode.html fails
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 222812    

Description Kimmo Kinnunen 2021-03-17 00:33:14 PDT
webgl/2.0.1/conformance2/context/context-mode.html fails
Comment 1 Kimmo Kinnunen 2021-03-17 01:09:13 PDT
https://www.khronos.org/registry/webgl/sdk/tests/conformance2/context/context-mode.html?webglVersion=2&quiet=0&quick=1

This test ensures WebGL 2.0 implementations respect the canvas's context mode.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS WebGL2RenderingContext should be a member of window
PASS WebGL2RenderingContext should be 'in' window
Testing webgl2 context type
PASS Canvas.getContext('webgl2') should return the same value every time
FAIL Canvas.getContext('webgl') after getContext('webgl2') should return null
Testing webgl context type
PASS Canvas.getContext('webgl') should return the same value every time
FAIL Canvas.getContext('webgl2') after getContext('webgl') should return null

PASS successfullyParsed is true

TEST COMPLETE
Comment 2 Kimmo Kinnunen 2021-03-17 01:45:46 PDT
At least macOS 11.3, iMacPro1,1, Radeon Pro Vega 56
Comment 3 Radar WebKit Bug Importer 2021-03-24 00:34:30 PDT
<rdar://problem/75774199>