diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /devtools/client/aboutdebugging/test/addons/unpacked | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'devtools/client/aboutdebugging/test/addons/unpacked')
-rw-r--r-- | devtools/client/aboutdebugging/test/addons/unpacked/bootstrap.js | 22 | ||||
-rw-r--r-- | devtools/client/aboutdebugging/test/addons/unpacked/install.rdf | 26 |
2 files changed, 48 insertions, 0 deletions
diff --git a/devtools/client/aboutdebugging/test/addons/unpacked/bootstrap.js b/devtools/client/aboutdebugging/test/addons/unpacked/bootstrap.js new file mode 100644 index 000000000..d96e31e5e --- /dev/null +++ b/devtools/client/aboutdebugging/test/addons/unpacked/bootstrap.js @@ -0,0 +1,22 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +/* eslint-env browser */ +/* exported startup, shutdown, install, uninstall */ + +"use strict"; + +Components.utils.import("resource://gre/modules/Services.jsm"); + +// This function is called from the webconsole test: +// browser_addons_debug_bootstrapped.js +function myBootstrapAddonFunction() { // eslint-disable-line no-unused-vars + Services.obs.notifyObservers(null, "addon-console-works", null); +} + +function startup() { + Services.obs.notifyObservers(null, "test-devtools", null); +} +function shutdown() {} +function install() {} +function uninstall() {} diff --git a/devtools/client/aboutdebugging/test/addons/unpacked/install.rdf b/devtools/client/aboutdebugging/test/addons/unpacked/install.rdf new file mode 100644 index 000000000..91c7474cc --- /dev/null +++ b/devtools/client/aboutdebugging/test/addons/unpacked/install.rdf @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!-- +# 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/. +--> + +<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:em="http://www.mozilla.org/2004/em-rdf#"> + <Description about="urn:mozilla:install-manifest" + em:id="test-devtools@mozilla.org" + em:name="test-devtools" + em:version="1.0" + em:type="2" + em:creator="Mozilla"> + + <em:bootstrap>true</em:bootstrap> + <em:targetApplication> + <Description> + <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> + <em:minVersion>44.0a1</em:minVersion> + <em:maxVersion>*</em:maxVersion> + </Description> + </em:targetApplication> + </Description> +</RDF> |