gecko-dev/testing/marionette/components/nsIMarionette.idl
Andreas Tolfsen f71bcb075c Bug 1355890 - Add Marionette XPCOM interface r=maja_zf
This adds a minimal XPCOM interface to access Marionette as a service.
All it does for now is to expose whether the Marionette server is
running, which will report true when the TCP listener socket is open and
false otherwise.

This will be used in browser/base/content/browser.js to determine
whether or not to add a visual UX cue on newly started <xul:browser>s.

MozReview-Commit-ID: 4Q9Oy2B9GQ1

--HG--
extra : rebase_source : 350fc1281ff2aa58e8c0ec1566c55f033878e850
2017-05-12 18:13:25 +01:00

14 lines
494 B
Plaintext

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
/** Interface for accessing the Marionette server instance. */
[scriptable, uuid(13fa7d76-f976-4711-a00c-29ac9c1881e1)]
interface nsIMarionette : nsISupports
{
/** Indicates whether the remote protocol is enabled. */
readonly attribute boolean running;
};