Bug 1299053 - Remove unsupported "notification" type. draft
authorRob Wu <rob@robwu.nl>
Wed, 19 Apr 2017 15:58:01 +0200
changeset 577555 d0679fd0f0bd427941cde134c90ce90d38bbb13e
parent 577554 e66dedabe582ba7b394aee4f89ed70fe389b3c46
child 577556 8d371d922bbaa18f28f513c615507f236309d767
push id58717
push userbmo:rob@robwu.nl
push dateSun, 14 May 2017 22:37:15 +0000
bugs1299053
milestone55.0a1
Bug 1299053 - Remove unsupported "notification" type. MozReview-Commit-ID: 3dzSs1FxixE
toolkit/components/extensions/schemas/extension.json
--- 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."
               }
             }
           }