browser/extensions/screenshots/experiments/screenshots/schema.json
author Jared Hirsch <ohai@6a68.net>
Mon, 15 Oct 2018 20:10:31 +0000
changeset 497063 426257ad4b83e3cffc628f76ae8bd55c2fa4fbaf
parent 496704 db5f7c8579529f8f751fabd97a83101c060df972
permissions -rw-r--r--
Bug 1498410 - Part 3 - Export Screenshots 35.0.0 (code excluding translations and Raven upgrade); r=aswan,ianbicking MozReview-Commit-ID: IF010Y5ERks Differential Revision: https://phabricator.services.mozilla.com/D8505

[
  {
    "namespace": "experiments.screenshots",
    "description": "Firefox Screenshots internal API",
    "functions": [
      {
        "name": "getUpdateChannel",
        "type": "function",
        "description": "Returns the Firefox channel (AppConstants.MOZ_UPDATE_CHANNEL)",
        "parameters": [],
        "async": true
      },
      {
        "name": "isHistoryEnabled",
        "type": "function",
        "description": "Returns the value of the 'places.history.enabled' preference",
        "parameters": [],
        "async": true
      },
      {
        "name": "isUploadDisabled",
        "type": "function",
        "description": "Returns the value of the 'extensions.screenshots.upload-disabled' preference",
        "parameters": [],
        "async": true
      },
      {
        "name": "initLibraryButton",
        "type": "function",
        "description": "Initializes the Photon-based Library menu item for Screenshots",
        "parameters": [],
        "async": true
      }
    ]
  }
]