title: Chrome's loading indicator keeps spinning during XMLHttpRequest
body: <p>I'm writing an AJAX web app that uses Comet/Long Polling to keep the web page up to date, and I noticed in Chrome, it treats the page as if it's always loading (icon for the tab keeps spinning).</p>
  
  <p>I thought this was normal for Google Chrome + Ajax because even Google Wave had this behaviour.</p>
  
  <p>Well today I noticed that Google Wave no longer keeps the loading icon spinning, anyone know how they fixed this?</p>
  
  <p>Here's my ajax call code</p>
  
  <pre><code>var xmlHttpReq = false;
  // Mozilla/Safari
  if (window.XMLHttpRequest) {
     xmlHttpReq = new XMLHttpRequest();
  }
  // IE
  else if (window.ActiveXObject) {
     xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
  }
  xmlHttpReq.open('GET', myURL, true);
  xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  xmlHttpReq.onreadystatechange = function() {
     if (xmlHttpReq.readyState == 4) {
        updatePage(xmlHttpReq.responseText);
     }
  }
  xmlHttpReq.send(null);
  </code></pre>