michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: */ michael@0: michael@0: [Constructor, JSImplementation="@mozilla.org/test-js-impl-interface2;1"] michael@0: interface TestJSImplInterface2 : TestCImplementedInterface { michael@0: }; michael@0: michael@0: [Constructor, JSImplementation="@mozilla.org/test-js-impl-interface3;1"] michael@0: interface TestJSImplInterface3 : TestCImplementedInterface2 { michael@0: }; michael@0: michael@0: // Important: TestJSImplInterface5 needs to come before TestJSImplInterface6 in michael@0: // this file to test what it's trying to test. michael@0: [Constructor, JSImplementation="@mozilla.org/test-js-impl-interface5;1"] michael@0: interface TestJSImplInterface5 : TestJSImplInterface6 { michael@0: }; michael@0: michael@0: // Important: TestJSImplInterface6 needs to come after TestJSImplInterface3 in michael@0: // this file to test what it's trying to test. michael@0: [Constructor, JSImplementation="@mozilla.org/test-js-impl-interface6;1"] michael@0: interface TestJSImplInterface6 : TestJSImplInterface3 { michael@0: }; michael@0: michael@0: [Constructor, JSImplementation="@mozilla.org/test-js-impl-interface4;1"] michael@0: interface TestJSImplInterface4 : EventTarget { michael@0: };