Bug 633833 - Add function keyword to all the single function JSD interfaces, r=timeless, a=bzbarsky
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 14 Feb 2011 17:14:07 +0100
changeset 62511 1a26bfb6959866438317a33f4cb8fc6413d458fc
parent 62510 c6e8f8d4468eca1e92bafa9a89f518e3cc1e8420
child 62512 1a75e03f2a65b8673490864bdc1ada74d238bf77
push id18756
push usergijskruitbosch@gmail.com
push dateMon, 14 Feb 2011 16:49:28 +0000
treeherdermozilla-central@1a26bfb69598 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstimeless, bzbarsky
bugs633833
milestone2.0b12pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 633833 - Add function keyword to all the single function JSD interfaces, r=timeless, a=bzbarsky
js/jsd/idl/jsdIDebuggerService.idl
--- a/js/jsd/idl/jsdIDebuggerService.idl
+++ b/js/jsd/idl/jsdIDebuggerService.idl
@@ -477,66 +477,66 @@ interface jsdIFilter : nsISupports
      * |startLine| to the end of the file.
      */
     attribute unsigned long endLine;
 };
 
 /**
  * Notify client code that debugMode has been activated.
  */
-[scriptable, uuid(6da7f5fb-3a84-4abe-9e23-8b2045960732)]
+[scriptable, function, uuid(6da7f5fb-3a84-4abe-9e23-8b2045960732)]
 interface jsdIActivationCallback : nsISupports
 {
     void onDebuggerActivated ();
 };
 
 /**
  * Pass an instance of one of these to jsdIDebuggerService::enterNestedEventLoop.
  */
-[scriptable, uuid(88bea60f-9b5d-4b39-b08b-1c3a278782c6)]
+[scriptable, function, uuid(88bea60f-9b5d-4b39-b08b-1c3a278782c6)]
 interface jsdINestCallback : nsISupports
 {
     /**
      * This method will be called after pre-nesting work has completed, such
      * as pushing the js context and network event queue, but before the new
      * event loop starts.
      */
     void onNest ();
 };
 
 /**
  * Pass an instance of one of these to jsdIDebuggerService::enumerateFilters.
  */
-[scriptable, uuid(e391ba85-9379-4762-b387-558e38db730f)]
+[scriptable, function, uuid(e391ba85-9379-4762-b387-558e38db730f)]
 interface jsdIFilterEnumerator : nsISupports
 {
     /**
      * The enumerateFilter method will be called once for every filter the
      * debugger knows about.
      */
     void enumerateFilter (in jsdIFilter filter);
 };
 
 /**
  * Pass an instance of one of these to jsdIDebuggerService::enumerateScripts.
  */
-[scriptable, uuid(4eef60c2-9bbc-48fa-b196-646a832c6c81)]
+[scriptable, function, uuid(4eef60c2-9bbc-48fa-b196-646a832c6c81)]
 interface jsdIScriptEnumerator : nsISupports
 {
     /**
      * The enumerateScript method will be called once for every script the
      * debugger knows about.
      */
     void enumerateScript (in jsdIScript script);
 };
 
 /**
  * Pass an instance of one of these to jsdIDebuggerService::enumerateContexts.
  */
-[scriptable, uuid(57d18286-550c-4ca9-ac33-56f12ebba91e)]
+[scriptable, function, uuid(57d18286-550c-4ca9-ac33-56f12ebba91e)]
 interface jsdIContextEnumerator : nsISupports
 {
     /**
      * The enumerateContext method will be called once for every context
      * currently in use.
      */
     void enumerateContext (in jsdIContext executionContext);
 };
@@ -557,17 +557,17 @@ interface jsdIScriptHook : nsISupports
      */
     void onScriptDestroyed (in jsdIScript script);
 };
 
 /**
  * Hook instances of this interface up to the
  * jsdIDebuggerService::functionHook and toplevelHook properties.
  */
-[scriptable, uuid(3eff1314-7ae3-4cf8-833b-c33c24a55633)]
+[scriptable, function, uuid(3eff1314-7ae3-4cf8-833b-c33c24a55633)]
 interface jsdICallHook : nsISupports
 {
     /**
      * TYPE_* values must be kept in sync with the JSD_HOOK_* #defines
      * in jsdebug.h.
      */
 
     /**
@@ -589,17 +589,17 @@ interface jsdICallHook : nsISupports
     
     /**
      * Called before the JavaScript engine executes a top level script or calls
      * a function.
      */
     void onCall (in jsdIStackFrame frame, in unsigned long type);
 };
 
-[scriptable, uuid(e6b45eee-d974-4d85-9d9e-f5a67218deb4)]
+[scriptable, function, uuid(e6b45eee-d974-4d85-9d9e-f5a67218deb4)]
 interface jsdIErrorHook : nsISupports
 {
     /**
      * REPORT_* values must be kept in sync with JSREPORT_* #defines in
      * jsapi.h
      */
     
     /**
@@ -629,17 +629,17 @@ interface jsdIErrorHook : nsISupports
                      in jsdIValue exc);
 };
 
 /**
  * Hook instances of this interface up to the
  * jsdIDebuggerService::breakpointHook, debuggerHook, errorHook, interruptHook,
  * and throwHook properties.
  */
-[scriptable, uuid(3a722496-9d78-4f0a-a797-293d9e8cb8d2)]
+[scriptable, function, uuid(3a722496-9d78-4f0a-a797-293d9e8cb8d2)]
 interface jsdIExecutionHook : nsISupports
 {
     /**
      * TYPE_* values must be kept in sync with JSD_HOOK_* #defines in jsdebug.h.
      */
 
     /**
      * Execution stopped because we're in single step mode.