B2G/gecko/services/sync/tps/extensions/tps/modules/tps.jsm
/**
   * Restrict enabled Sync engines to a specified set.
   *
   * This can be called by a test to limit what engines are enabled. It is
   * recommended to call it to reduce the overhead and log clutter for the
   * test.
   *
   * The "clients" engine is special and is always enabled, so there is no
   * need to specify it.
   *
   * @param  names
   *         Array of Strings for engines to make active during the test.
   */
Restrict enabled Sync engines to a specified set.
This can be called by a test to limit what engines are enabled. It is
recommended to call it to reduce the overhead and log clutter for the
test.

The "clients" engine is special and is always enabled, so there is no
need to specify it.

@param  names
Array of Strings for engines to make active during the test.
Restrict enabled Sync engines to a specified set . This can be called by a test to limit what engines are enabled . It is recommended to call it to reduce the overhead and log clutter for the test . The " clients " engine is special and is always enabled so there is no need to specify it . @param names Array of Strings for engines to make active during the test .
function EnableEngines(names) {
    if (!Array.isArray(names)) {
      throw new Error("Argument to RestrictEngines() is not an array: "
                      + typeof(names));
    }
    this._enabledEngines = names;
  }
function EnableEngines ( names ) { if ( ! Array . isArray ( names ) ) { throw new Error ( "Argument to RestrictEngines() is not an array: " + typeof ( names ) ) ; } this . _enabledEngines = names ; }
Restrict enabled Sync engines to a specified set.
Restrict enabled Sync engines to a specified set .