2014-10-27 17:00:05 +00:00
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
2014-10-29 20:11:33 +00:00
|
|
|
interface nsIDOMWindow;
|
|
|
|
|
|
|
|
[scriptable, uuid(54fd2dd3-c01b-4f71-888f-462f37a54f57)]
|
|
|
|
interface nsIWorkerDebuggerListener : nsISupports
|
|
|
|
{
|
|
|
|
void onClose();
|
|
|
|
};
|
|
|
|
|
2014-10-27 17:00:05 +00:00
|
|
|
[scriptable, builtinclass, uuid(0833b363-bffe-4cdb-ad50-1c4563e0C8ff)]
|
|
|
|
interface nsIWorkerDebugger : nsISupports
|
|
|
|
{
|
2014-10-29 20:11:33 +00:00
|
|
|
const unsigned long TYPE_DEDICATED = 0;
|
|
|
|
const unsigned long TYPE_SHARED = 1;
|
|
|
|
const unsigned long TYPE_SERVICE = 2;
|
|
|
|
|
2014-10-27 17:00:05 +00:00
|
|
|
readonly attribute bool isClosed;
|
|
|
|
|
2014-10-29 20:11:33 +00:00
|
|
|
readonly attribute bool isChrome;
|
|
|
|
|
|
|
|
readonly attribute nsIWorkerDebugger parent;
|
|
|
|
|
|
|
|
readonly attribute unsigned long type;
|
|
|
|
|
2014-10-27 17:00:05 +00:00
|
|
|
readonly attribute DOMString url;
|
2014-10-29 20:11:33 +00:00
|
|
|
|
|
|
|
readonly attribute nsIDOMWindow window;
|
|
|
|
|
|
|
|
void addListener(in nsIWorkerDebuggerListener listener);
|
|
|
|
|
|
|
|
void removeListener(in nsIWorkerDebuggerListener listener);
|
2014-10-27 17:00:05 +00:00
|
|
|
};
|