mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
4acb23615f
Since we want to add a few APIs that AMO can use to query and manipulate the user's add-ons we want to expose a custom API. This implements the webidl and a stub implementation in JavaScript. We use the webidl functions for controlling access to the API, only the AMO production domains (and some test domains when testing is enabled) can access it and only when retrieved securely and not in an inner frame of a page that shouldn't have the API. MozReview-Commit-ID: 3HUUrduuHwf --HG-- extra : rebase_source : fe64953c2fde99a56868314edef1982156dadada
28 lines
1.9 KiB
Plaintext
28 lines
1.9 KiB
Plaintext
component {66354bc9-7ed1-4692-ae1d-8da97d6b205e} nsBlocklistService.js process=main
|
|
contract @mozilla.org/extensions/blocklist;1 {66354bc9-7ed1-4692-ae1d-8da97d6b205e} process=main
|
|
category profile-after-change nsBlocklistService @mozilla.org/extensions/blocklist;1 process=main
|
|
component {e0a106ed-6ad4-47a4-b6af-2f1c8aa4712d} nsBlocklistServiceContent.js process=content
|
|
contract @mozilla.org/extensions/blocklist;1 {e0a106ed-6ad4-47a4-b6af-2f1c8aa4712d} process=content
|
|
|
|
category update-timer nsBlocklistService @mozilla.org/extensions/blocklist;1,getService,blocklist-background-update-timer,extensions.blocklist.interval,86400
|
|
#ifndef MOZ_WIDGET_GONK
|
|
component {4399533d-08d1-458c-a87a-235f74451cfa} addonManager.js
|
|
contract @mozilla.org/addons/integration;1 {4399533d-08d1-458c-a87a-235f74451cfa}
|
|
#ifndef MOZ_WIDGET_ANDROID
|
|
category update-timer addonManager @mozilla.org/addons/integration;1,getService,addon-background-update-timer,extensions.update.interval,86400
|
|
#endif
|
|
component {7beb3ba8-6ec3-41b4-b67c-da89b8518922} amContentHandler.js
|
|
contract @mozilla.org/uriloader/content-handler;1?type=application/x-xpinstall {7beb3ba8-6ec3-41b4-b67c-da89b8518922}
|
|
component {0f38e086-89a3-40a5-8ffc-9b694de1d04a} amWebInstallListener.js
|
|
contract @mozilla.org/addons/web-install-listener;1 {0f38e086-89a3-40a5-8ffc-9b694de1d04a}
|
|
component {9df8ef2b-94da-45c9-ab9f-132eb55fddf1} amInstallTrigger.js
|
|
contract @mozilla.org/addons/installtrigger;1 {9df8ef2b-94da-45c9-ab9f-132eb55fddf1}
|
|
category JavaScript-global-property InstallTrigger @mozilla.org/addons/installtrigger;1
|
|
#ifndef MOZ_WIDGET_ANDROID
|
|
category addon-provider-module PluginProvider resource://gre/modules/addons/PluginProvider.jsm
|
|
#endif
|
|
category addon-provider-module GMPProvider resource://gre/modules/addons/GMPProvider.jsm
|
|
#endif
|
|
component {8866d8e3-4ea5-48b7-a891-13ba0ac15235} amWebAPI.js
|
|
contract @mozilla.org/addon-web-api/manager;1 {8866d8e3-4ea5-48b7-a891-13ba0ac15235}
|