Bug 217005 - [WebGL2] Add extension availability tests
Summary: [WebGL2] Add extension availability tests
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 126404
  Show dependency treegraph
 
Reported: 2020-09-25 17:32 PDT by Kenneth Russell
Modified: 2020-10-02 17:33 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Russell 2020-09-25 17:32:46 PDT
In order to ensure that WebKit advertises the expected WebGL 1.0 and 2.0 extensions - and doesn't silently regress - it's necessary to add some layout tests verifying this.

The difficulty is that the advertised extensions differ from GPU to GPU, not just from platform to platform. TestExpectations can't currently suppress failures based on the GPU type on the system.

In Slack discussions, dino@ suggests to add an Internals method to either:

- Query the GPU type
- Query the expected extensions for the current platform
- Enable the WEBGL_debug_renderer_info extension and determine extension availability inside the test based on the result

or similar.
Comment 1 Radar WebKit Bug Importer 2020-10-02 17:33:17 PDT
<rdar://problem/69903434>