function BMT__ignore(itemId, folder, guid) {
    // Ignore unconditionally if the engine tells us to.
    if (this.ignoreAll)
      return true;

    // Get the folder id if we weren't given one.
    if (folder == null) {
      try {
        folder = PlacesUtils.bookmarks.getFolderIdForItem(itemId);
      } catch (ex) {
        this._log.debug("getFolderIdForItem(" + itemId +
                        ") threw; calling _ensureMobileQuery.");
        // I'm guessing that gFIFI can throw, and perhaps that's why
        // _ensureMobileQuery is here at all. Try not to call it.
        this._ensureMobileQuery();
        folder = PlacesUtils.bookmarks.getFolderIdForItem(itemId);
      }
    }

    // Ignore changes to tags (folders under the tags folder).
    let tags = kSpecialIds.tags;
    if (folder == tags)
      return true;

    // Ignore tag items (the actual instance of a tag for a bookmark).
    if (PlacesUtils.bookmarks.getFolderIdForItem(folder) == tags)
      return true;

    // Make sure to remove items that have the exclude annotation.
    if (PlacesUtils.annotations.itemHasAnnotation(itemId, EXCLUDEBACKUP_ANNO)) {
      this.removeChangedID(guid);
      return true;
    }

    return false;
  }
/**
   * Determine if a change should be ignored.
   *
   * @param itemId
   *        Item under consideration to ignore
   * @param folder (optional)
   *        Folder of the item being changed
   */
Determine if a change should be ignored.
@param itemId
Item under consideration to ignore
@param folder (optional)
Folder of the item being changed
Determine if a change should be ignored . @param itemId Item under consideration to ignore @param folder ( optional ) Folder of the item being changed
function BMT__ignore(itemId, folder, guid) {
    if (this.ignoreAll)
      return true;
    if (folder == null) {
      try {
        folder = PlacesUtils.bookmarks.getFolderIdForItem(itemId);
      } catch (ex) {
        this._log.debug("getFolderIdForItem(" + itemId +
                        ") threw; calling _ensureMobileQuery.");
        this._ensureMobileQuery();
        folder = PlacesUtils.bookmarks.getFolderIdForItem(itemId);
      }
    }
    let tags = kSpecialIds.tags;
    if (folder == tags)
      return true;
    if (PlacesUtils.bookmarks.getFolderIdForItem(folder) == tags)
      return true;
    if (PlacesUtils.annotations.itemHasAnnotation(itemId, EXCLUDEBACKUP_ANNO)) {
      this.removeChangedID(guid);
      return true;
    }
    return false;
  }
function BMT__ignore ( itemId , folder , guid ) { if ( this . ignoreAll ) return true ; if ( folder == null ) { try { folder = PlacesUtils . bookmarks . getFolderIdForItem ( itemId ) ; } catch ( ex ) { this . _log . debug ( "getFolderIdForItem(" + itemId + ") threw; calling _ensureMobileQuery." ) ; this . _ensureMobileQuery ( ) ; folder = PlacesUtils . bookmarks . getFolderIdForItem ( itemId ) ; } } let tags = kSpecialIds . tags ; if ( folder == tags ) return true ; if ( PlacesUtils . bookmarks . getFolderIdForItem ( folder ) == tags ) return true ; if ( PlacesUtils . annotations . itemHasAnnotation ( itemId , EXCLUDEBACKUP_ANNO ) ) { this . removeChangedID ( guid ) ; return true ; } return false ; }
Determine if a change should be ignored.
Determine if a change should be ignored .
// Ignore unconditionally if the engine tells us to. // Get the folder id if we weren't given one. // I'm guessing that gFIFI can throw, and perhaps that's why // _ensureMobileQuery is here at all. Try not to call it. // Ignore changes to tags (folders under the tags folder). // Ignore tag items (the actual instance of a tag for a bookmark). // Make sure to remove items that have the exclude annotation.