Bug 220844 - WebGL powerPreference cannot be tested due to tests needing to run while no other test is run
Summary: WebGL powerPreference cannot be tested due to tests needing to run while no o...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 220843
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-22 00:12 PST by Kimmo Kinnunen
Modified: 2021-07-26 13:47 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 Kimmo Kinnunen 2021-01-22 00:12:26 PST
WebGL powerPreference cannot be tested due to tests needing to run while no other test is run

The powerPreference tests should test sequences related to integrated GPU switches to discrete GPU and vice versa.
This needs the feature that such tests could be marked as "run singly", e.g. so that no other test would be run.
This is needed because other WebGL tests are sensitive to which GPU is being selected, and it is no good if the GPU which tests are run is not deterministic.
Comment 1 Kenneth Russell 2021-01-23 12:17:33 PST
Such a test also generally needs to run on dual-GPU Mac laptops in order to test the browser is properly using the integrated or discrete GPU.

In case they're useful, here are some of the tests of this functionality that Chromium runs. Happy to answer any questions about how they work.

https://source.chromium.org/chromium/chromium/src/+/master:content/test/gpu/gpu_tests/gpu_process_integration_test.py;l=483
Comment 2 Radar WebKit Bug Importer 2021-01-29 00:13:13 PST
<rdar://problem/73743868>