summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/webextensions/test/addons/test_updateid2
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/mozapps/webextensions/test/addons/test_updateid2')
-rw-r--r--toolkit/mozapps/webextensions/test/addons/test_updateid2/bootstrap.js5
-rw-r--r--toolkit/mozapps/webextensions/test/addons/test_updateid2/install.rdf16
2 files changed, 21 insertions, 0 deletions
diff --git a/toolkit/mozapps/webextensions/test/addons/test_updateid2/bootstrap.js b/toolkit/mozapps/webextensions/test/addons/test_updateid2/bootstrap.js
new file mode 100644
index 000000000..24c778c09
--- /dev/null
+++ b/toolkit/mozapps/webextensions/test/addons/test_updateid2/bootstrap.js
@@ -0,0 +1,5 @@
+
+function install(data, reason) {}
+function startup(data, reason) {}
+function shutdown(data, reason) {}
+function uninstall(data, reason) {}
diff --git a/toolkit/mozapps/webextensions/test/addons/test_updateid2/install.rdf b/toolkit/mozapps/webextensions/test/addons/test_updateid2/install.rdf
new file mode 100644
index 000000000..041af57f0
--- /dev/null
+++ b/toolkit/mozapps/webextensions/test/addons/test_updateid2/install.rdf
@@ -0,0 +1,16 @@
+<?xml version="1.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>addon1.changed@tests.mozilla.org</em:id>
+ <em:version>2.0</em:version>
+ <em:updateURL>http://localhost:4444/data/test_updateid.rdf</em:updateURL>
+ <em:bootstrap>true</em:bootstrap>
+ <em:name>Test Addon 1</em:name>
+<em:targetApplication><Description>
+ <em:id>xpcshell@tests.mozilla.org</em:id>
+ <em:minVersion>1</em:minVersion>
+ <em:maxVersion>1</em:maxVersion>
+</Description></em:targetApplication>
+</Description>
+</RDF>