Bug 1299053 - Remove unsupported "notification" type.
MozReview-Commit-ID: 3dzSs1FxixE
--- a/toolkit/components/extensions/schemas/extension.json
+++ b/toolkit/components/extensions/schemas/extension.json
@@ -26,17 +26,17 @@
"allowedContexts": ["content", "devtools"],
"description": "True for content scripts running inside incognito tabs, and for extension pages running inside an incognito process. The latter only applies to extensions with 'split' incognito_behavior."
}
},
"types": [
{
"id": "ViewType",
"type": "string",
- "enum": ["tab", "notification", "popup", "sidebar"],
+ "enum": ["tab", "popup", "sidebar"],
"description": "The type of extension view."
}
],
"functions": [
{
"name": "getURL",
"type": "function",
"allowedContexts": ["content", "devtools"],
@@ -61,17 +61,17 @@
{
"type": "object",
"name": "fetchProperties",
"optional": true,
"properties": {
"type": {
"$ref": "ViewType",
"optional": true,
- "description": "The type of view to get. If omitted, returns all views (including background pages and tabs). Valid values: 'tab', 'notification', 'popup'."
+ "description": "The type of view to get. If omitted, returns all views (including background pages and tabs). Valid values: 'tab', 'popup', 'sidebar'."
},
"windowId": {
"type": "integer",
"optional": true,
"description": "The window to restrict the search to. If omitted, returns all views."
}
}
}