function requestViaXhr(url) {
  return xhrRequest(url).then(result => wrapResult(result));
}
Initiates a new XHR GET request to provided URL.
@param {string} url The endpoint URL for the XHR.
@return {Promise} The promise for success/error events.