diff options
Diffstat (limited to 'addon-sdk/source/test/fixtures/bootstrap-addon')
6 files changed, 61 insertions, 0 deletions
diff --git a/addon-sdk/source/test/fixtures/bootstrap-addon/META-INF/manifest.mf b/addon-sdk/source/test/fixtures/bootstrap-addon/META-INF/manifest.mf new file mode 100644 index 000000000..5105792a7 --- /dev/null +++ b/addon-sdk/source/test/fixtures/bootstrap-addon/META-INF/manifest.mf @@ -0,0 +1,17 @@ +Manifest-Version: 1.0 + +Name: install.rdf +Digest-Algorithms: MD5 SHA1 +MD5-Digest: N643P4YjKKlwZUqrfLi4ow== +SHA1-Digest: XK/2qoOrnuYo8xNYeLvB8DlUIik= + +Name: bootstrap.js +Digest-Algorithms: MD5 SHA1 +MD5-Digest: XH+mMa/H9aj3hm/ZtVKviw== +SHA1-Digest: LMmd1aTash/onjS1eAYIshgrdnM= + +Name: options.xul +Digest-Algorithms: MD5 SHA1 +MD5-Digest: XeELNGdttv8Lq66lT8ykbQ== +SHA1-Digest: 4KO6/RBoe10rYOGS+gFSHuuWi4Y= + diff --git a/addon-sdk/source/test/fixtures/bootstrap-addon/META-INF/mozilla.rsa b/addon-sdk/source/test/fixtures/bootstrap-addon/META-INF/mozilla.rsa Binary files differnew file mode 100644 index 000000000..6b1c3a9ce --- /dev/null +++ b/addon-sdk/source/test/fixtures/bootstrap-addon/META-INF/mozilla.rsa diff --git a/addon-sdk/source/test/fixtures/bootstrap-addon/META-INF/mozilla.sf b/addon-sdk/source/test/fixtures/bootstrap-addon/META-INF/mozilla.sf new file mode 100644 index 000000000..99f343296 --- /dev/null +++ b/addon-sdk/source/test/fixtures/bootstrap-addon/META-INF/mozilla.sf @@ -0,0 +1,4 @@ +Signature-Version: 1.0 +MD5-Digest-Manifest: cnqbpqBEVoHgJi/ocCsKKA== +SHA1-Digest-Manifest: eDmvBAkodeNbk/0ujttYgF8KDgI= + diff --git a/addon-sdk/source/test/fixtures/bootstrap-addon/bootstrap.js b/addon-sdk/source/test/fixtures/bootstrap-addon/bootstrap.js new file mode 100644 index 000000000..dea1d7b90 --- /dev/null +++ b/addon-sdk/source/test/fixtures/bootstrap-addon/bootstrap.js @@ -0,0 +1,10 @@ +/* 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'; + +function install(data, reason) {} +function uninstall(data, reason) {} + +function startup(data, reasonCode) {}; +function shutdown(data, reasonCode) {}; diff --git a/addon-sdk/source/test/fixtures/bootstrap-addon/install.rdf b/addon-sdk/source/test/fixtures/bootstrap-addon/install.rdf new file mode 100644 index 000000000..221dc9c3d --- /dev/null +++ b/addon-sdk/source/test/fixtures/bootstrap-addon/install.rdf @@ -0,0 +1,27 @@ +<?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-bootstrap-addon@mozilla.com</em:id> + <em:name>Test Bootstrap Add-on</em:name> + <em:creator>Erik Vold</em:creator> + <em:optionsType>2</em:optionsType> + <em:version>1.0</em:version> + <em:type>2</em:type> + <em:bootstrap>true</em:bootstrap> + <em:unpack>false</em:unpack> + + <!-- Firefox --> + <em:targetApplication> + <Description> + <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> + <em:minVersion>26.0</em:minVersion> + <em:maxVersion>*</em:maxVersion> + </Description> + </em:targetApplication> + </Description> +</RDF> diff --git a/addon-sdk/source/test/fixtures/bootstrap-addon/options.xul b/addon-sdk/source/test/fixtures/bootstrap-addon/options.xul new file mode 100644 index 000000000..aafa46d88 --- /dev/null +++ b/addon-sdk/source/test/fixtures/bootstrap-addon/options.xul @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<!DOCTYPE mydialog SYSTEM "chrome://myaddon/locale/mydialog.dtd"> +<vbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"></vbox> |