mirror of
https://github.com/classilla/tenfourfox.git
synced 2026-04-19 06:25:12 +00:00
18 lines
468 B
JavaScript
18 lines
468 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
function PreInitGlobalActor(aConnection) {}
|
|
|
|
PreInitGlobalActor.prototype = {
|
|
actorPrefix: "preInitGlobal",
|
|
onPing: function onPing(aRequest) {
|
|
return { message: "pong" };
|
|
},
|
|
};
|
|
|
|
PreInitGlobalActor.prototype.requestTypes = {
|
|
"ping": PreInitGlobalActor.prototype.onPing,
|
|
};
|
|
|
|
DebuggerServer.addGlobalActor(PreInitGlobalActor, "preInitGlobalActor");
|