title: JSON HTTP Request Not Working on Mac OSX
body: <p>I have been using an HTTP request in a JS file to retrieve information from a local JSON file. It works just fine on my Windows computer in Firefox and Chrome, but when run on a Mac, the Chrome debugger throws an error saying that <code>Cross origin requests are only supported for HTTP</code>...
  My HTTP request code is as follows:</p>
  
  <pre><code>var xhr = new XMLHttpRequest();
  
  xhr.open("GET", "sample.json", true);
  
  xhr.onreadystatechange = function() {
      if (xhr.readyState === 4) {
          var status = xhr.status;
  
          if ((status &gt;= 200 &amp;&amp; status &lt; 300) || status === 305) {
              var myData = JSON.parse(xhr.responseText);
              window.myData = myData;
              showAll(myData);
          }
      }
  };
  
  xhr.send(null);
  </code></pre>
  
  <p>Any ideas? Thanks</p>