onGetCapabilitiesFail_(origin, destinationId) {
      console.warn(
          'Failed to get print capabilities for printer ' + destinationId);
      if (this.selectedDestination_ &&
          this.selectedDestination_.id == destinationId) {
        const event =
            new Event(DestinationStore.EventType.SELECTED_DESTINATION_INVALID);
        event.destinationId = destinationId;
        this.dispatchEvent(event);
      }
      if (this.autoSelectMatchingDestination_ &&
          this.autoSelectMatchingDestination_.matchIdAndOrigin(
              destinationId, origin)) {
        this.selectDefaultDestination_();
      }
    }
/**
     * Called when a request to get a local destination's print capabilities
     * fails. If the destination is the initial destination, auto-select another
     * destination instead.
     * @param {print_preview.DestinationOrigin} origin The origin type of the
     *     failed destination.
     * @param {string} destinationId The destination ID that failed.
     * @private
     */
Called when a request to get a local destination's print capabilities
fails. If the destination is the initial destination, auto-select another
destination instead.
@param {print_preview.DestinationOrigin} origin The origin type of the
failed destination.
@param {string} destinationId The destination ID that failed.
@private
Called when a request to get a local destination ' s print capabilities fails . If the destination is the initial destination auto - select another destination instead . @param { print_preview . DestinationOrigin } origin The origin type of the failed destination . @param { string } destinationId The destination ID that failed . @private
onGetCapabilitiesFail_(origin, destinationId) {
      console.warn(
          'Failed to get print capabilities for printer ' + destinationId);
      if (this.selectedDestination_ &&
          this.selectedDestination_.id == destinationId) {
        const event =
            new Event(DestinationStore.EventType.SELECTED_DESTINATION_INVALID);
        event.destinationId = destinationId;
        this.dispatchEvent(event);
      }
      if (this.autoSelectMatchingDestination_ &&
          this.autoSelectMatchingDestination_.matchIdAndOrigin(
              destinationId, origin)) {
        this.selectDefaultDestination_();
      }
    }
onGetCapabilitiesFail_ ( origin , destinationId ) { console . warn ( 'Failed to get print capabilities for printer ' + destinationId ) ; if ( this . selectedDestination_ && this . selectedDestination_ . id == destinationId ) { const event = new Event ( DestinationStore . EventType . SELECTED_DESTINATION_INVALID ) ; event . destinationId = destinationId ; this . dispatchEvent ( event ) ; } if ( this . autoSelectMatchingDestination_ && this . autoSelectMatchingDestination_ . matchIdAndOrigin ( destinationId , origin ) ) { this . selectDefaultDestination_ ( ) ; } }
Called when a request to get a local destination's print capabilities
 fails.
Called when a request to get a local destination ' s print capabilities fails .