B2G/gecko/toolkit/devtools/debugger/server/dbg-browser-actors.js
/**
   * Creates a thread actor and a pool for context-lifetime actors. It then sets
   * up the content window for debugging.
   */
Creates a thread actor and a pool for context-lifetime actors. It then sets
up the content window for debugging.
Creates a thread actor and a pool for context - lifetime actors . It then sets up the content window for debugging .
function BTA_pushContext() {
    dbg_assert(!this._contextPool, "Can't push multiple contexts");
    this._contextPool = new ActorPool(this.conn);
    this.conn.addActorPool(this._contextPool);
    this.threadActor = new ThreadActor(this);
    this._addDebuggees(this.browser.contentWindow.wrappedJSObject);
    this._contextPool.addActor(this.threadActor);
  }
function BTA_pushContext ( ) { dbg_assert ( ! this . _contextPool , "Can't push multiple contexts" ) ; this . _contextPool = new ActorPool ( this . conn ) ; this . conn . addActorPool ( this . _contextPool ) ; this . threadActor = new ThreadActor ( this ) ; this . _addDebuggees ( this . browser . contentWindow . wrappedJSObject ) ; this . _contextPool . addActor ( this . threadActor ) ; }
Creates a thread actor and a pool for context-lifetime actors.
Creates a thread actor and a pool for context - lifetime actors .