Source code

Revision control

Copy as Markdown

Other Tools

/* Any copyright is dedicated to the Public Domain.
"use strict";
const { Actor } = require("resource://devtools/shared/protocol/Actor.js");
class PostInitGlobalActor extends Actor {
constructor(conn) {
super(conn, { typeName: "postInitGlobal", methods: [] });
this.requestTypes = {
ping: this.onPing,
};
}
onPing() {
return { message: "pong" };
}
}
exports.PostInitGlobalActor = PostInitGlobalActor;