summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/unit/registertestactors-02.js
blob: 54f78e5086890fd23cd48a69a8084de19e8e07af (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.addGlobalActor(Actor, "registeredActor2");
  handle.addTabActor(Actor, "registeredActor2");
};

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