mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-15 17:55:15 -10:00
20 lines
428 B
JavaScript
20 lines
428 B
JavaScript
"use strict";
|
|
|
|
const run_test = Test(async function() {
|
|
initTestDebuggerServer();
|
|
const connection = DebuggerServer.connectPipe();
|
|
const client = Async(new DebuggerClient(connection));
|
|
|
|
await client.connect();
|
|
|
|
const response = await client.request({
|
|
to: "root",
|
|
type: "protocolDescription"
|
|
});
|
|
|
|
assert(response.from == "root");
|
|
assert(typeof (response.types) === "object");
|
|
|
|
await client.close();
|
|
});
|