DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (cdf352f02ac4)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
{
  "manifest_version": 2,
  "name": "Web Compat",
  "description": "Urgent post-release fixes for web compatibility.",
  "version": "10.1.2",

  "applications": {
    "gecko": {
      "id": "webcompat@mozilla.org",
      "strict_min_version": "59.0b5"
    }
  },

  "experiment_apis": {
    "aboutConfigPrefs": {
      "schema": "experiment-apis/aboutConfigPrefs.json",
      "parent": {
        "scopes": ["addon_parent"],
        "script": "experiment-apis/aboutConfigPrefs.js",
        "paths": [["aboutConfigPrefs"]]
      }
    },
    "aboutPage": {
      "schema": "about-compat/aboutPage.json",
      "parent": {
        "scopes": ["addon_parent"],
        "script": "about-compat/aboutPage.js",
        "events": ["startup"]
      }
    },
    "experiments": {
      "schema": "experiment-apis/experiments.json",
      "parent": {
        "scopes": ["addon_parent"],
        "script": "experiment-apis/experiments.js",
        "paths": [["experiments"]]
      }
    },
    "pictureInPictureChild": {
      "schema": "experiment-apis/pictureInPicture.json",
      "child": {
        "scopes": ["addon_child"],
        "script": "experiment-apis/pictureInPicture.js",
        "paths": [["pictureInPictureChild"]]
      }
    },
    "pictureInPictureParent": {
      "schema": "experiment-apis/pictureInPicture.json",
      "parent": {
        "scopes": ["addon_parent"],
        "script": "experiment-apis/pictureInPicture.js",
        "paths": [["pictureInPictureParent"]]
      }
    },
    "sharedPreferences": {
      "schema": "experiment-apis/sharedPreferences.json",
      "parent": {
        "scopes": ["addon_parent"],
        "script": "experiment-apis/sharedPreferences.js",
        "paths": [["sharedPreferences"]]
      }
    },
    "systemManufacturer": {
      "schema": "experiment-apis/systemManufacturer.json",
      "child": {
        "scopes": ["addon_child"],
        "script": "experiment-apis/systemManufacturer.js",
        "paths": [["systemManufacturer"]]
      }
    }
  },

  "content_security_policy": "script-src 'self' 'sha256-MmZkN2QaIHhfRWPZ8TVRjijTn5Ci1iEabtTEWrt9CCo='; default-src 'self'; base-uri moz-extension://*; object-src 'none'",

  "permissions": ["webRequest", "webRequestBlocking", "<all_urls>"],

  "background": {
    "scripts": [
      "lib/module_shim.js",
      "lib/intervention_helpers.js",
      "data/injections.js",
      "data/picture_in_picture_overrides.js",
      "data/ua_overrides.js",
      "lib/about_compat_broker.js",
      "lib/custom_functions.js",
      "lib/injections.js",
      "lib/picture_in_picture_overrides.js",
      "lib/ua_overrides.js",
      "run.js"
    ]
  }
}