summaryrefslogtreecommitdiffstats
path: root/devtools/client/aboutdebugging/test/addons/unpacked/bootstrap.js
blob: d96e31e5e8949453afe1c5eb8cd1cf201d593c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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() {}