mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-31 15:05:46 +00:00
18 lines
407 B
JavaScript
18 lines
407 B
JavaScript
const run_test = Test(function*() {
|
|
initTestDebuggerServer();
|
|
const connection = DebuggerServer.connectPipe();
|
|
const client = Async(new DebuggerClient(connection));
|
|
|
|
yield client.connect();
|
|
|
|
const response = yield client.request({
|
|
to: "root",
|
|
type: "protocolDescription"
|
|
});
|
|
|
|
assert(response.from == "root");
|
|
assert(typeof(response.types) === "object");
|
|
|
|
yield client.close();
|
|
});
|