/* *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// only useful on X11
[noscript, notxpcom] void GetData();
[implicit_jscontext]
jsval getInfo();
// Return an object describing all features that have been configured: // // "features": [ // // For each feature: // { // "name": <string>, // "description": <string>, // "status": <string>, // "log": [ // // One or more log entries, the first denotes the default value. // { // "type": <string>, // "base", "user", "env", or "runtime" // "status": <string>, // "message": <string> // Set unless type is "base" and status is "available". // } // ] // } // ] // "fallbacks": [ // // For each workaround: // { // "name:" <string>, // "description": <string>, // "message": <string> // ] // } // // When a message is prefixed with a '#', it is a special status code. Status // codes are unique identifiers that can be searched in the codebase to find // which line of code caused the message. Some codes are standardized to // improve about:support messaging: // // "[CONTEXT_]FEATURE_FAILURE_BUG_<number>" // CONTEXT is optional and can currently only be "BLOCKLIST". // <number> refers to a bug number in Bugzilla. //
[implicit_jscontext]
jsval getFeatureLog();
// Returns an object containing information about graphics features. It is // intended to be directly included into the Telemetry environment. // // "layers": // { // "compositor": "d3d9", "d3d11", "opengl", "basic", or "none" // // ("none" indicates no compositors have been created) // // Feature is one of "d3d9", "d3d11", "opengl", "basic", or "d2d". // "<feature>": { // // Each backend can have one of the following statuses: // // "unused" - This feature has not been requested. // // "unavailable" - OS version or restriction prevents use. // // "blocked" - An internal condition (such as safe mode) prevents use. // // "blocklisted" - Blocked due to a blocklist restriction. // // "denied" - Blocked due to allowlist restrictions. // // "disabled" - User explicitly disabled this default feature. // // "failed" - Feature failed to initialize. // // "available" - User has this feature available by default. // "status": "<status>", // "version": "<version>", // "warp": true|false, // D3D11 only. // "textureSharing": true|false, // D3D11 only. // } // }
[implicit_jscontext]
jsval getFeatures();
// Returns an array listing any active crash guards. // // [ // { // // Type is one of "d3d11layers", or "glcontext". // "type": "<identifier>", // // // Preference that must be deleted/reset to retrigger the guard. // "prefName": "<preference>", // } // ]
[implicit_jscontext]
jsval getActiveCrashGuards();
// Forces the GPU process to start or shutdown. This is intended only for // xpcshell-tests.
boolean controlGPUProcessForXPCShell(in boolean aEnable);
// Kills the GPU process cleanly, without generating a crash dump. // This is intended only for use by tests. void killGPUProcessForTests();
// Causes the GPU process to crash. This is intended only for use by tests. void crashGPUProcessForTests();
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.