fix ubO pt.5

This commit is contained in:
wuggy 2026-09-14 15:57:30 -07:00
commit ae54ac8e28
8 changed files with 63 additions and 6 deletions

View file

@ -922,7 +922,9 @@ BrowserGlue.prototype = {
AutoCompletePopup.init();
DateTimePickerHelper.init();
this._firstWindowLoaded();
if (typeof this._firstWindowLoaded == "function") {
this._firstWindowLoaded();
}
},
/**

View file

@ -11,7 +11,8 @@
"choices": [{
"type": "string",
"enum": [
"contextMenus"
"contextMenus",
"menus"
]
}]
}
@ -20,7 +21,7 @@
{
"namespace": "contextMenus",
"description": "Use the <code>browser.contextMenus</code> API to add items to the browser's context menu. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages.",
"permissions": ["contextMenus"],
"permissions": ["contextMenus", "menus"],
"properties": {
"ACTION_MENU_TOP_LEVEL_LIMIT": {
"value": 6,