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
18 lines
572 B
Plaintext
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")
|