fune/devtools/server/tests/unit/pre_init_tab_actors.js
Michael Brennan 8229796378 Bug 1325989 - Resolve ESLint issues in devtools/server/tests/unit. r=jryans
--HG--
extra : rebase_source : 855f1da9fc88af46e8be78c94762a90df29cb75f
2017-03-18 12:26:05 +01:00

19 lines
443 B
JavaScript

/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
function PreInitTabActor(connection) {}
PreInitTabActor.prototype = {
actorPrefix: "preInitTab",
onPing(request) {
return { message: "pong" };
},
};
PreInitTabActor.prototype.requestTypes = {
"ping": PreInitTabActor.prototype.onPing,
};
DebuggerServer.addGlobalActor(PreInitTabActor, "preInitTabActor");