chore: attempt to fix firefox-beta WebGL tests on MacOS 12.6 (#22548)

Looks like https://phabricator.services.mozilla.com/D164016
disabled software rendering.

If Firefox-beta passes on MacOS, then this bandaid setting will be
migrated to the firefox-beta default settings.
This commit is contained in:
Andrey Lushnikov 2023-04-21 16:54:25 +00:00 committed by GitHub
parent b45e3556e5
commit a919f5f66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,9 @@ export class Firefox extends BrowserType {
// Prefs for quick fixes that didn't make it to the build.
// Should all be moved to `playwright.cfg`.
const kBandaidFirefoxUserPrefs = {};
const kBandaidFirefoxUserPrefs = {
'webgl.forbid-software': false
};
const kDisableFissionFirefoxUserPrefs = {
'browser.tabs.remote.useCrossOriginEmbedderPolicy': false,