mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
28 lines
552 B
JavaScript
28 lines
552 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;
|