- interface to check if integrated GPU is on
- interface to check if has discrete GPU
- interface to flush the shutdown timer of discrete GPU
Created attachment 418113 [details]
Comment on attachment 418113 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=418113&action=review
Looks good to me. r+
> +description("Tests that a high-performance contexts do not fail.");
"contexts do not" -> "context does not"
> +var wtu = WebGLTestUtils;
Nowadays, prefer "let" (or "const") over "var".
In case they're useful, here are some related tests run against Chromium:
the latter of which reference helper functions in this file: