js/xpconnect/tests/idl/xpctest_utils.idl
author Morris Tseng <mtseng@mozilla.com>
Mon, 12 Sep 2016 17:39:54 +0800
changeset 313517 d85736dec5d0d1c605d471b53decef714b3b4074
parent 283683 1e43044e881d7c60eb864e083aa7aaa2f0e18396
permissions -rw-r--r--
Bug 1297965 - Use ANGLE for WebGL2. r=jgilbert MozReview-Commit-ID: 83zhQ5rTdbi

/* 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/. */

/**
 * Utility interfaces for testing.
 */

#include "nsISupports.idl"

[scriptable, function, uuid(d58a82ab-d8f7-4ca9-9273-b3290d42a0cf)]
interface nsIXPCTestFunctionInterface : nsISupports {
  string echo(in string arg);
};

[scriptable, uuid(1e9cddeb-510d-449a-b152-3c1b5b31d41d)]
interface nsIXPCTestUtils : nsISupports {
  nsIXPCTestFunctionInterface doubleWrapFunction(in nsIXPCTestFunctionInterface f);
};