nsIWorkerDebuggerManager.idl (836B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ 4 5 #include "nsISupports.idl" 6 7 interface nsISimpleEnumerator; 8 interface nsIWorkerDebugger; 9 10 [scriptable, uuid(d2aa74ee-6b98-4d5d-8173-4e23422daf1e)] 11 interface nsIWorkerDebuggerManagerListener : nsISupports 12 { 13 void onRegister(in nsIWorkerDebugger aDebugger); 14 15 void onUnregister(in nsIWorkerDebugger aDebugger); 16 }; 17 18 [scriptable, builtinclass, uuid(056d7918-dc86-452a-b4e6-86da3405f015)] 19 interface nsIWorkerDebuggerManager : nsISupports 20 { 21 nsISimpleEnumerator getWorkerDebuggerEnumerator(); 22 23 void addListener(in nsIWorkerDebuggerManagerListener listener); 24 25 void removeListener(in nsIWorkerDebuggerManagerListener listener); 26 };