mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
f6db0ee557
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35884 --HG-- extra : source : 60e4496cf9699dc59f2f4738cb60f87cbdb01e67
27 lines
537 B
JavaScript
27 lines
537 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
"use strict";
|
|
|
|
function TestActor1(connection, tab) {
|
|
this.conn = connection;
|
|
this.tab = tab;
|
|
}
|
|
|
|
TestActor1.prototype = {
|
|
actorPrefix: "testOne",
|
|
|
|
grip: function TA1_grip() {
|
|
return { actor: this.actorID, test: "TestActor1" };
|
|
},
|
|
|
|
onPing: function TA1_onPing() {
|
|
return { pong: "pong" };
|
|
},
|
|
};
|
|
|
|
TestActor1.prototype.requestTypes = {
|
|
ping: TestActor1.prototype.onPing,
|
|
};
|
|
exports.TestActor1 = TestActor1;
|