summaryrefslogtreecommitdiff
path: root/dom/workers/nsIWorkerDebuggerManager.idl
blob: f7a0fb3091dccfbfd4fe92178a9f6ea4635b9661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "nsISupports.idl"

interface nsISimpleEnumerator;
interface nsIWorkerDebugger;

[scriptable, uuid(d2aa74ee-6b98-4d5d-8173-4e23422daf1e)]
interface nsIWorkerDebuggerManagerListener : nsISupports
{
  void onRegister(in nsIWorkerDebugger debugger);

  void onUnregister(in nsIWorkerDebugger debugger);
};

[scriptable, builtinclass, uuid(056d7918-dc86-452a-b4e6-86da3405f015)]
interface nsIWorkerDebuggerManager : nsISupports
{
  nsISimpleEnumerator getWorkerDebuggerEnumerator();

  void addListener(in nsIWorkerDebuggerManagerListener listener);

  void removeListener(in nsIWorkerDebuggerManagerListener listener);
};