xpctest_utils.idl 619 B

1234567891011121314151617181920
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. /**
  5. * Utility interfaces for testing.
  6. */
  7. #include "nsISupports.idl"
  8. [scriptable, function, uuid(d58a82ab-d8f7-4ca9-9273-b3290d42a0cf)]
  9. interface nsIXPCTestFunctionInterface : nsISupports {
  10. string echo(in string arg);
  11. };
  12. [scriptable, uuid(1e9cddeb-510d-449a-b152-3c1b5b31d41d)]
  13. interface nsIXPCTestUtils : nsISupports {
  14. nsIXPCTestFunctionInterface doubleWrapFunction(in nsIXPCTestFunctionInterface f);
  15. };