blob: 436bd410d1bd3bb08925ab9711f8535ffa485c03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
add_task(async function test_policy_hardware_acceleration() {
let winUtils = Services.wm.getMostRecentWindow("").windowUtils;
let layerManager = winUtils.layerManagerType;
ok(
layerManager == "Basic" || layerManager == "WebRender (Software)",
"Hardware acceleration disabled"
);
});
|