This patch moves the addons-search-detection system add-on in tree and adjusts the build configuration to make it a built-in add-on (which requires changes in the `BrowserGlue.jsm` file). Summary of the changes made to the different files: - `api.js`: added license header, reformatted with Prettier, then fixed ESLint errors: use of `Services.eTLD` instead of `XPCOMUtils.defineLazyServiceGetter(...)` and defined `"searchInitialized"` on `this` instead of `global` which was unknown - `background.js`: added license header, reformatted with Prettier, removed debug logs because they were off by default anyway, fixed ESLint error: id => addonId because addonId was already defined in a parent scope - `manifest.json`: version number changed + `hidden: true` - `schema.json`: no change await addon.enable(); Depends on D129019 Differential Revision: https://phabricator.services.mozilla.com/D128908
8 lines
333 B
Plaintext
8 lines
333 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/.
|
|
|
|
browser.jar:
|
|
% resource builtin-addons %builtin-addons/ contentaccessible=yes
|
|
builtin-addons/search-detection/ (extension/**)
|