[ { "interfaces": [ { "base": "nsISupports", "callable": false, "consts": [ { "name": "UNINITIALIZED", "value": -1 }, { "name": "INACTIVE", "value": 0 }, { "name": "ACTIVE", "value": 1 }, { "name": "FAILED", "value": 2 } ], "enums": [], "id": "nsIEnterprisePolicies", "members": [ { "name": "status", "readonly": true, "type": "i16" }, { "name": "isEnterprise", "readonly": true, "type": "boolean" }, { "args": [ { "name": "feature", "optional": false, "type": "string" } ], "iid_is": null, "name": "isAllowed", "type": "boolean" }, { "args": [ { "name": "feature", "optional": false, "type": "string" }, { "name": "uri", "optional": false, "type": "nsIURI" } ], "iid_is": null, "name": "isAllowedForURI", "type": "boolean" }, { "args": [], "iid_is": null, "name": "getActivePolicies", "type": "any" }, { "args": [], "iid_is": null, "name": "getSupportMenu", "type": "any" }, { "args": [ { "name": "extensionID", "optional": false, "type": "string" } ], "iid_is": null, "name": "getExtensionPolicy", "type": "any" }, { "args": [ { "name": "extensionID", "optional": false, "type": "string" } ], "iid_is": null, "name": "getExtensionSettings", "type": "any" }, { "args": [ { "name": "addon", "optional": false, "type": "any" } ], "iid_is": null, "name": "mayInstallAddon", "type": "boolean" }, { "args": [ { "name": "addonID", "optional": false, "type": "string" } ], "iid_is": null, "name": "isAddonRequiredByPolicy", "type": "boolean" }, { "args": [ { "name": "uri", "optional": false, "type": "nsIURI" } ], "iid_is": null, "name": "allowedInstallSource", "type": "boolean" }, { "args": [ { "name": "url", "optional": false, "type": "string" }, { "name": "extension", "optional": false, "type": "string" } ], "iid_is": null, "name": "isExemptExecutableExtension", "type": "boolean" }, { "args": [ { "name": "uri", "optional": false, "type": "nsIURI" } ], "iid_is": null, "name": "getContainerForURI", "type": "u32" } ] } ], "path": "toolkit/components/enterprisepolicies/nsIEnterprisePolicies.idl", "typedefs": [ [ "PRTime", "i64" ] ] } ]