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 michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: /** michael@0: * Do not use this interface. Instead, write: michael@0: * Components.utils.import("resource://gre/modules/jsdebugger.jsm"); michael@0: * addDebuggerToGlobal(global); michael@0: */ michael@0: [scriptable, uuid(a36fa816-31da-4b23-bc97-6412771f0867)] michael@0: interface IJSDebugger : nsISupports michael@0: { michael@0: /** michael@0: * Define the global Debugger constructor on a given global. michael@0: */ michael@0: [implicit_jscontext] michael@0: void addClass(in jsval global); michael@0: };