Bug 1768495 Part 4: Disable window occlusion tracker pref on crashtests that rely...
commit75eeec6a995e79f8de398745baa2883e4fc426b9
authorBrad Werth <bwerth@mozilla.com>
Tue, 28 Feb 2023 23:04:54 +0000 (28 23:04 +0000)
committerBrad Werth <bwerth@mozilla.com>
Tue, 28 Feb 2023 23:04:54 +0000 (28 23:04 +0000)
treed65f4a41135849c8b7a1ef2c09a5ee1e32a7cb85
parentbf1c2d1d90dd0c4e537671671f0e0dcb830e82da
Bug 1768495 Part 4: Disable window occlusion tracker pref on crashtests that rely on a running compositor. r=emilio

These crashtests rely upon either a requestAnimationFrame callback or a
MozAfterPaint event. Those currently won't happen when the compositor is
paused, and on Windows these crashtests are occluded, which will now pause
the compositor. To deal with this, we disable the occlusion tracking pref
on Windows. Other platforms seem not to treat the crashtests as occluded,
so their compositors keep running.

Differential Revision: https://phabricator.services.mozilla.com/D171137
gfx/tests/crashtests/crashtests.list
image/test/crashtests/crashtests.list
layout/base/crashtests/crashtests.list
layout/generic/crashtests/crashtests.list
layout/painting/crashtests/crashtests.list
layout/svg/crashtests/crashtests.list
layout/xul/tree/crashtests/crashtests.list