gecko-dev/toolkit/components/aboutthirdparty/tests/xpcshell/head.js
Toshihito Kikuchi cb2d12abe0 Bug 1695817 - Part 4: Label a module as ShellExtension or IME. r=Gijs,mhowell
This patch adds a feature to mark each module in the about:third-party page
as a shell extension or an IME if it is so.  To achieve this, when the page
is loaded, it starts a background task to collect registered shell extensions
from the registry and adds a tag next to a module's name.

Differential Revision: https://phabricator.services.mozilla.com/D109305
2021-05-28 22:35:58 +00:00

10 lines
359 B
JavaScript

/* 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/. */
"use strict";
const kExtensionModuleName = "TestShellEx.dll";
const kATP = Cc["@mozilla.org/about-thirdparty;1"].getService(
Ci.nsIAboutThirdParty
);