B2G/gecko/browser/components/tabview/ui.js
// Given storage data for this object, returns true if it looks valid.
Given storage data for this object, returns true if it looks valid.
Given storage data for this object returns true if it looks valid .
function UI__storageSanity(data) {
    if (Utils.isEmptyObject(data))
      return true;
    if (!Utils.isRect(data.pageBounds)) {
      Utils.log("UI.storageSanity: bad pageBounds", data.pageBounds);
      data.pageBounds = null;
      return false;
    }
    return true;
  }
function UI__storageSanity ( data ) { if ( Utils . isEmptyObject ( data ) ) return true ; if ( ! Utils . isRect ( data . pageBounds ) ) { Utils . log ( "UI.storageSanity: bad pageBounds" , data . pageBounds ) ; data . pageBounds = null ; return false ; } return true ; }
Given storage data for this object, returns true if it looks valid.
Given storage data for this object returns true if it looks valid .