xpcom/tests/NotXPCOMTest.idl
author divyansh <sharma.divyansh.501@iitg.ernet.in>
Tue, 09 Oct 2018 18:23:15 +0000
changeset 496051 dd0480856174ebb56abe03c063f4833f8c4f5d43
parent 229800 b415215720263664bf4b86f42b1f400821fce53a
child 529059 f7772ec802b23b6d621d9abccb0e4e218dc235e6
permissions -rw-r--r--
Bug 1423843 - Enabled ESLint for dom/notification/test/unit r=Standard8,mccr8 Differential Revision: https://phabricator.services.mozilla.com/D8026

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

[scriptable, uuid(93142a4f-e4cf-424a-b833-e638f87d2607)]
interface ScriptableOK : nsISupports
{
  void method1();
};

[scriptable, uuid(237d01a3-771e-4c6e-adf9-c97f9aab2950)]
interface ScriptableWithNotXPCOM : nsISupports
{
  [notxpcom] void method2();
};

[scriptable, uuid(4f06ec60-3bb3-4712-ab18-b2b595285558)]
interface ScriptableWithNotXPCOMBase : ScriptableWithNotXPCOM
{
  void method3();
};