mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 09:16:58 -10:00
20 lines
471 B
JavaScript
20 lines
471 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
"use strict";
|
|
|
|
function PostInitGlobalActor(connection) {}
|
|
|
|
PostInitGlobalActor.prototype = {
|
|
actorPrefix: "postInitGlobal",
|
|
onPing(request) {
|
|
return { message: "pong" };
|
|
},
|
|
};
|
|
|
|
PostInitGlobalActor.prototype.requestTypes = {
|
|
"ping": PostInitGlobalActor.prototype.onPing,
|
|
};
|
|
|
|
DebuggerServer.addGlobalActor(PostInitGlobalActor, "postInitGlobalActor");
|