mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1856358 - Add 'wayland' to Reftest manifest sandbox, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D189828
This commit is contained in:
parent
8d1fc65e40
commit
eb537ab9c0
@ -669,6 +669,13 @@ function BuildConditionSandbox(aURL) {
|
||||
contentBackend == canvasBackend ||
|
||||
(contentBackend == "none" && canvasBackend == "cairo");
|
||||
|
||||
try {
|
||||
var windowProtocol = readGfxInfo(gfxInfo, "windowProtocol");
|
||||
sandbox.wayland = windowProtocol == "wayland";
|
||||
} catch (e) {
|
||||
sandbox.wayland = false;
|
||||
}
|
||||
|
||||
sandbox.remoteCanvas =
|
||||
Services.prefs.getBoolPref("gfx.canvas.remote") &&
|
||||
sandbox.d2d &&
|
||||
|
Loading…
Reference in New Issue
Block a user