mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35891
17 lines
394 B
JavaScript
17 lines
394 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.mainRoot.protocolDescription();
|
|
|
|
assert(response.from == "root");
|
|
assert(typeof response.types === "object");
|
|
|
|
await client.close();
|
|
});
|