code: function isCrossOriginXhrSupported() {
          if (window.XMLHttpRequest) {
              var xhr = qq.createXhrInstance();
  
              //Commonly accepted test for XHR CORS support.
              return xhr.withCredentials !== undefined;
          }
  
          return false;
      }
docs: Ensure we can send cross-origin `XMLHttpRequest`s