mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 03:49:42 +00:00
Bug 749428 - Expose OMTC status in about:support. r=jrmuizel
This commit is contained in:
parent
69ba89c3f3
commit
9ded47535b
@ -112,6 +112,8 @@ let snapshotFormatters = {
|
||||
data.numAcceleratedWindows + "/" + data.numTotalWindows;
|
||||
if (data.windowLayerManagerType)
|
||||
out.acceleratedWindows += " " + data.windowLayerManagerType;
|
||||
if (data.windowLayerManagerRemote)
|
||||
out.acceleratedWindows += " (OMTC)";
|
||||
if (data.numAcceleratedWindowsMessage)
|
||||
out.acceleratedWindows +=
|
||||
" " + localizedMsg(data.numAcceleratedWindowsMessage);
|
||||
|
@ -228,6 +228,7 @@ let dataProviders = {
|
||||
getInterface(Ci.nsIDOMWindowUtils);
|
||||
try {
|
||||
data.windowLayerManagerType = winUtils.layerManagerType;
|
||||
data.windowLayerManagerRemote = winUtils.layerManagerRemote;
|
||||
}
|
||||
catch (e) {
|
||||
continue;
|
||||
|
@ -144,6 +144,9 @@ const SNAPSHOT_SCHEMA = {
|
||||
windowLayerManagerType: {
|
||||
type: "string",
|
||||
},
|
||||
windowLayerManagerRemote: {
|
||||
type: "boolean",
|
||||
},
|
||||
numAcceleratedWindowsMessage: {
|
||||
type: "array",
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user