B2G/gecko/accessible/tests/mochitest/events.js
/**
   * Return true if logging feature is enabled.
   */
Return true if logging feature is enabled.
Return true if logging feature is enabled .
function logger_hasFeature(aFeature)
  {
    var startIdx = gA11yEventDumpFeature.indexOf(aFeature);
    if (startIdx == - 1)
      return false;
    var endIdx = startIdx + aFeature.length;
    return endIdx == gA11yEventDumpFeature.length ||
      gA11yEventDumpFeature[endIdx] == ";";
  }
function logger_hasFeature ( aFeature ) { var startIdx = gA11yEventDumpFeature . indexOf ( aFeature ) ; if ( startIdx == - 1 ) return false ; var endIdx = startIdx + aFeature . length ; return endIdx == gA11yEventDumpFeature . length || gA11yEventDumpFeature [ endIdx ] == ";" ; }
Return true if logging feature is enabled.
Return true if logging feature is enabled .