summaryrefslogtreecommitdiffstats
path: root/remote/cdp/test/browser/browser_agent.js
blob: faa4ce7fbc6e70e41ec6401968df42a9869fa2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

// To fully test the Remote Agent's capabilities an instance of the interface
// also needs to be used.
const remoteAgentInstance = Cc["@mozilla.org/remote/agent;1"].createInstance(
  Ci.nsIRemoteAgent
);

add_task(async function running() {
  is(remoteAgentInstance.running, true, "Agent is running");
});