mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-06-10 19:08:40 +00:00
18 lines
475 B
JavaScript
18 lines
475 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
function PostInitGlobalActor(aConnection) {}
|
|
|
|
PostInitGlobalActor.prototype = {
|
|
actorPrefix: "postInitGlobal",
|
|
onPing: function onPing(aRequest) {
|
|
return { message: "pong" };
|
|
},
|
|
};
|
|
|
|
PostInitGlobalActor.prototype.requestTypes = {
|
|
"ping": PostInitGlobalActor.prototype.onPing,
|
|
};
|
|
|
|
DebuggerServer.addGlobalActor(PostInitGlobalActor, "postInitGlobalActor");
|