Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add missing namespaces to metadata #126

Merged
merged 4 commits into from Jun 15, 2018
Merged

Commits on Jun 5, 2018

  1. feat: Add browsingData namespace to metadata

    The auto-generated output from the metadata generator also includes the
    following methods from Chrome. Firefox does not support them, so they
    were not included in the metadata:
    
    ```
        "removeAppcache": {
          "minArgs": 1,
          "maxArgs": 1
        },
        "removeFileSystems": {
          "minArgs": 1,
          "maxArgs": 1
        },
        "removeIndexedDB": {
          "minArgs": 1,
          "maxArgs": 1
        },
        "removeWebSQL": {
          "minArgs": 1,
          "maxArgs": 1
        },
    ```
    
    Also see:
    https://searchfox.org/mozilla-central/rev/292d295d6b084b43b70de26a42e68513bb7b36a3/browser/components/extensions/schemas/browsing_data.json
    https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/browsingData#Browser_compatibility
    Rob--W committed Jun 5, 2018
    Copy the full SHA
    336a295 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    946bfc5 View commit details
    Browse the repository at this point in the history
  3. feat: Add sessions namespace to metadata

    https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/sessions#Browser_compatibility
    
    Only `sessions.getRecentlyClosed` and `sessions.restore` are currently
    supported by Firefox.
    
    `sessions.getDevices` is included anyway since this method may be added
    to Firefox in the future: https://bugzil.la/1308059
    Rob--W committed Jun 5, 2018
    Copy the full SHA
    f12f1f8 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    5541e41 View commit details
    Browse the repository at this point in the history