Files
tubestation/browser/extensions/proxy-failover/moz.build
William Durand c6a0cb3cb6 Bug 1735758 - Add proxy-failover system add-on. r=rpl
This patch contains the following changes:

- Moved the files from https://github.com/mozilla-extensions/proxy-monitor (`extension/*`) to `browser/extensions/proxy-failover`.
- In `api.js`:
  - Added license at the top of the file
  - Added a `globals` comment to tell ESLint about `ExtensionAPI`
  - Added a comment to disable an ESLint rule on L289 (consistent-return)
  - Added a comment to disable an ESLint rule on L422 (no-unused-vars)
  - Reformatted some comment blocks to break ato break at ~80 chars
- Added `moz.build` to build the `proxy-failover` extension
- Added `proxy-failover` to the list of built-in system add-ons
- Added a smoke test to make sure the add-on is loaded

Differential Revision: https://phabricator.services.mozilla.com/D128466
2021-10-14 18:13:28 +00:00

18 lines
572 B
Plaintext

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEFINES["MOZ_APP_VERSION"] = CONFIG["MOZ_APP_VERSION"]
DEFINES["MOZ_APP_MAXVERSION"] = CONFIG["MOZ_APP_MAXVERSION"]
FINAL_TARGET_FILES.features["proxy-failover@mozilla.com"] += [
"api.js",
"manifest.json",
"schema.json",
]
BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.ini"]
with Files("**"):
BUG_COMPONENT = ("WebExtensions", "Request Handling")