gecko-dev/gfx/tests
Jamie Nicol 01c1cad628 Bug 1742985 - Add more methods to nsIGfxInfo for GPU process testing. r=tnikkel
Add KillGPUProcessForTests, which kills the GPU process without
generating a crash dump (unlike the existing CrashGPUProcessForTests).

Additionally add EnsureGPUProcessReadyForTests, which returns a
promise that resolves to true when the GPU process is enabled and
ready, and false if it is disabled. If called while the GPU process is
being (re)started, it will not resolve until it has finished launching
(or was disabled due to error).

Finally, make GPUProcessHost::IsConnected check whether the process
handle is valid. This ensures it returns false immediately following a
call to KillProcess but prior to the GPUChild being destroyed. This
means tests can call EnsureGPUProcessReadyForTests immediately after
KillGPUProcessForTests or CrashGPUProcessForTests, and it will
reliably wait for the new process to launch, as intended.

Depends on D135207

Differential Revision: https://phabricator.services.mozilla.com/D135328
2022-01-07 13:27:49 +00:00
..
browser Bug 1708446 - Add a browser mochitest to make sure the jank notification works properly for popup windows in the browser process. r=boris,botond,sotaro 2021-06-01 00:32:27 +00:00
chrome Bug 1651774: Update mozilla/use-services rule for native Services implementation. r=Standard8 2020-11-06 18:58:33 +00:00
crashtests Bug 1745775 - Fix invalid surface info indexing r=gfx-reviewers,bradwerth 2021-12-14 01:06:24 +00:00
gtest Bug 1742985 - Add more methods to nsIGfxInfo for GPU process testing. r=tnikkel 2022-01-07 13:27:49 +00:00
mochitest Bug 1739621 - Remove remaining UseAdvancedLayers() r=jrmuizel,gfx-reviewers,bradwerth 2021-11-07 12:44:53 +00:00
reftest Bug 1744468. Change annotation for gfx/tests/reftest/1724901-2.html. r=aosmond 2021-12-14 09:43:53 +00:00
moz.build Bug 1676925 - Remove code supporting the defunct WebRender experiments. r=jrmuizel,marionette-reviewers 2020-11-13 05:40:10 +00:00