B2G/gecko/accessible/tests/mochitest/common.js
/**
 * Analogy of SimpleTest.is function used to compare objects.
 */
Analogy of SimpleTest.is function used to compare objects.
Analogy of SimpleTest . is function used to compare objects .
function isObject(aObj, aExpectedObj, aMsg)
{
  if (aObj == aExpectedObj) {
    ok(true, aMsg);
    return;
  }
  ok(false,
     aMsg + " - got '" + prettyName(aObj) +
            "', expected '" + prettyName(aExpectedObj) + "'");
}
function isObject ( aObj , aExpectedObj , aMsg ) { if ( aObj == aExpectedObj ) { ok ( true , aMsg ) ; return ; } ok ( false , aMsg + " - got '" + prettyName ( aObj ) + "', expected '" + prettyName ( aExpectedObj ) + "'" ) ; }
Analogy of SimpleTest.is function used to compare objects.
Analogy of SimpleTest . is function used to compare objects .