B2G/gecko/accessible/tests/mochitest/common.js
/**
 * Return true if the given identifier has an accessible, or exposes the wanted
 * interfaces.
 */
Return true if the given identifier has an accessible, or exposes the wanted
interfaces.
Return true if the given identifier has an accessible or exposes the wanted interfaces .
function isAccessible(aAccOrElmOrID, aInterfaces)
{
  return getAccessible(aAccOrElmOrID, aInterfaces, null,
                       DONOTFAIL_IF_NO_ACC | DONOTFAIL_IF_NO_INTERFACE) ?
    true : false;
}
function isAccessible ( aAccOrElmOrID , aInterfaces ) { return getAccessible ( aAccOrElmOrID , aInterfaces , null , DONOTFAIL_IF_NO_ACC | DONOTFAIL_IF_NO_INTERFACE ) ? true : false ; }
Return true if the given identifier has an accessible, or exposes the wanted
 interfaces.
Return true if the given identifier has an accessible or exposes the wanted interfaces .