mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
42 lines
986 B
Plaintext
42 lines
986 B
Plaintext
#include "nsISupports.idl"
|
|
|
|
interface nsIDOMWindow;
|
|
|
|
[scriptable, uuid(ead45621-22a7-48ef-b7db-c4252ae3e6cb)]
|
|
interface nsIWorkerDebuggerListener : nsISupports
|
|
{
|
|
void onClose();
|
|
|
|
void onMessage(in DOMString message);
|
|
};
|
|
|
|
[scriptable, builtinclass, uuid(28e0a60c-ff10-446c-8c2a-5fbdc01394ea)]
|
|
interface nsIWorkerDebugger : nsISupports
|
|
{
|
|
const unsigned long TYPE_DEDICATED = 0;
|
|
const unsigned long TYPE_SHARED = 1;
|
|
const unsigned long TYPE_SERVICE = 2;
|
|
|
|
readonly attribute bool isClosed;
|
|
|
|
readonly attribute bool isChrome;
|
|
|
|
readonly attribute nsIWorkerDebugger parent;
|
|
|
|
readonly attribute unsigned long type;
|
|
|
|
readonly attribute DOMString url;
|
|
|
|
readonly attribute nsIDOMWindow window;
|
|
|
|
[implicit_jscontext]
|
|
void initialize(in DOMString url);
|
|
|
|
[implicit_jscontext, binaryname(PostMessageMoz)]
|
|
void postMessage(in DOMString message);
|
|
|
|
void addListener(in nsIWorkerDebuggerListener listener);
|
|
|
|
void removeListener(in nsIWorkerDebuggerListener listener);
|
|
};
|