mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
MozReview-Commit-ID: HJm7yQCMbkg Depends on D8141 Differential Revision: https://phabricator.services.mozilla.com/D8142
17 lines
396 B
JavaScript
17 lines
396 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();
|
|
});
|