summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/unit/registertestactors-01.js
blob: 92f511225b676341a32900b670a36c5449c0b746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

function Actor() {}

exports.register = function (handle) {
  handle.addTabActor(Actor, "registeredActor1");
  handle.addGlobalActor(Actor, "registeredActor1");
};

exports.unregister = function (handle) {
  handle.removeTabActor(Actor);
  handle.removeGlobalActor(Actor);
};