summaryrefslogtreecommitdiffstats
path: root/devtools/client/aboutdebugging/test/addons/unpacked/bootstrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/aboutdebugging/test/addons/unpacked/bootstrap.js')
-rw-r--r--devtools/client/aboutdebugging/test/addons/unpacked/bootstrap.js22
1 files changed, 22 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() {}