B2G/gecko/toolkit/mozapps/update/test/chrome/utils.js
/**
 * Checks that only incompatible add-ons (e.g. noupdate_X add-ons) that don't
 * have an update are listed in the add-ons incompatible list.
 */
Checks that only incompatible add-ons  that don't
have an update are listed in the add-ons incompatible list.
Checks that only incompatible add - ons that don ' t have an update are listed in the add - ons incompatible list .
function checkIncompatbleList() {
  for (let i = 0; i < gIncompatibleListbox.itemCount; i++) {
    let label = gIncompatibleListbox.getItemAtIndex(i).label;
    ok(label.indexOf("noupdate") != -1, "Checking that only incompatible " + 
       "add-ons that don't have an update are listed in the incompatible list");
  }
}
function checkIncompatbleList ( ) { for ( let i = 0 ; i < gIncompatibleListbox . itemCount ; i ++ ) { let label = gIncompatibleListbox . getItemAtIndex ( i ) . label ; ok ( label . indexOf ( "noupdate" ) != - 1 , "Checking that only incompatible " + "add-ons that don't have an update are listed in the incompatible list" ) ; } }
Checks that only incompatible add-ons (e.g.
Checks that only incompatible add - ons ( e . g .
// Use indexOf since locales can change the text displayed