Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1950905 - Assert that win32k is available in native event code. r…
…=bobowen Native event processing requires the creation of an event window, which isn't possible under win32k lockdown, resulting in a MOZ_CRASH. This change adds an assertion about the state of win32k lockdown to differentiate crashes that would occur because of win32k lockdown from crashes that would occur for other reasons. This only affects the GPU process (through nsAppShell::PrecacheEventWindow) because, since bug 1950112, nsAppShell::Init now avoids native event processing if win32k is unavailable. Differential Revision: https://phabricator.services.mozilla.com/D239987
- Loading branch information