2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2011-08-31 19:39:39 +04:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Do not use this interface. Instead, write:
|
|
|
|
* Components.utils.import("resource://gre/modules/jsdebugger.jsm");
|
2012-05-01 19:17:32 +04:00
|
|
|
* addDebuggerToGlobal(global);
|
2011-08-31 19:39:39 +04:00
|
|
|
*/
|
2012-05-01 19:17:32 +04:00
|
|
|
[scriptable, uuid(a36fa816-31da-4b23-bc97-6412771f0867)]
|
2011-08-31 19:39:39 +04:00
|
|
|
interface IJSDebugger : nsISupports
|
|
|
|
{
|
|
|
|
/**
|
2012-05-01 19:17:32 +04:00
|
|
|
* Define the global Debugger constructor on a given global.
|
2011-08-31 19:39:39 +04:00
|
|
|
*/
|
|
|
|
[implicit_jscontext]
|
2012-05-01 19:17:32 +04:00
|
|
|
void addClass(in jsval global);
|
2011-08-31 19:39:39 +04:00
|
|
|
};
|