[ { "namespace": "forcedPrefs", "description": "Read/write about:config preferences from a privileged parent context.", "functions": [ { "name": "setPref", "type": "function", "async": true, "description": "Force an about:config pref to a fixed value. type is one of 'bool','int','string'.", "parameters": [ { "name": "name", "type": "string" }, { "name": "type", "type": "string", "enum": ["bool", "int", "string"] }, { "name": "value", "type": "any" } ] }, { "name": "getPref", "type": "function", "async": true, "description": "Read an about:config pref; returns null if unset.", "parameters": [ { "name": "name", "type": "string" }, { "name": "type", "type": "string", "enum": ["bool", "int", "string"] } ] } ] } ]