B2G/gaia/apps/browser/js/browser.js
/* Match best bookmark setting by
     * 1. check carrier with region
     * 2. check carrier
     * 3. fallback to no SIM card case
     */
Match best bookmark setting by
1. check carrier with region
2. check carrier
3. fallback to no SIM card case
Match best bookmark setting by 1 . check carrier with region 2 . check carrier 3 . fallback to no SIM card case
function customizeDefaultBookmark(data) {
      var DEFAULT_MNC = '000';
      var codename = DEFAULT_BOOKMARK; 
      var pad_mcc = zfill(iccSettings.mcc, 3);
      var pad_mnc = zfill(iccSettings.mnc, 3);
      if (data[pad_mcc + pad_mnc]) {
        codename = pad_mcc + pad_mnc;
      } else if (data[pad_mcc + DEFAULT_MNC]) {
        codename = pad_mcc + DEFAULT_MNC;
      }
      addDefaultBookmarks(data[codename]);
    }
function customizeDefaultBookmark ( data ) { var DEFAULT_MNC = '000' ; var codename = DEFAULT_BOOKMARK ; var pad_mcc = zfill ( iccSettings . mcc , 3 ) ; var pad_mnc = zfill ( iccSettings . mnc , 3 ) ; if ( data [ pad_mcc + pad_mnc ] ) { codename = pad_mcc + pad_mnc ; } else if ( data [ pad_mcc + DEFAULT_MNC ] ) { codename = pad_mcc + DEFAULT_MNC ; } addDefaultBookmarks ( data [ codename ] ) ; }
Match best bookmark setting by
 1. check carrier with region
 2. check carrier
 3. fallback to no SIM card case
Match best bookmark setting by 1 . check carrier with region 2 . check carrier 3 . fallback to no SIM card case
//fallback to no SIM card case