зеркало из https://github.com/mozilla/gecko-dev.git
20 строки
451 B
JavaScript
20 строки
451 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
"use strict";
|
|
|
|
function PostInitTabActor(connection) {}
|
|
|
|
PostInitTabActor.prototype = {
|
|
actorPostfix: "postInitTab",
|
|
onPing(request) {
|
|
return { message: "pong" };
|
|
},
|
|
};
|
|
|
|
PostInitTabActor.prototype.requestTypes = {
|
|
"ping": PostInitTabActor.prototype.onPing,
|
|
};
|
|
|
|
DebuggerServer.addGlobalActor(PostInitTabActor, "postInitTabActor");
|