abortSearchRequests_(origins) {
      this.outstandingCloudSearchRequests_ =
          this.outstandingCloudSearchRequests_.filter(function(request) {
            if (origins.indexOf(request.origin) >= 0) {
              request.xhr.abort();
              return false;
            }
            return true;
          });
    }
/**
     * Terminates search requests for requested {@code origins}.
     * @param {!Array<print_preview.DestinationOrigin>} origins Origins
     *     to terminate search requests for.
     * @private
     */
Terminates search requests for requested  origins.
@param {!Array} origins Origins
to terminate search requests for.
@private
Terminates search requests for requested origins . @param { !Array } origins Origins to terminate search requests for . @private
abortSearchRequests_(origins) {
      this.outstandingCloudSearchRequests_ =
          this.outstandingCloudSearchRequests_.filter(function(request) {
            if (origins.indexOf(request.origin) >= 0) {
              request.xhr.abort();
              return false;
            }
            return true;
          });
    }
abortSearchRequests_ ( origins ) { this . outstandingCloudSearchRequests_ = this . outstandingCloudSearchRequests_ . filter ( function ( request ) { if ( origins . indexOf ( request . origin ) >= 0 ) { request . xhr . abort ( ) ; return false ; } return true ; } ) ; }
Terminates search requests for requested {@code origins}.
Terminates search requests for requested { @code origins } .