title: What causes EventSource to trigger an error in my Chrome extension?
body: <p>I have the following code in a background_script in a Google Chrome extension:</p>
  
  <pre><code>var source = new EventSource("http://www.janywer.freetzi.com/events/groupshout.php");
  source.addEventListener('message', function (e) {
      console.log('message', e.data);
  }, false);
  source.addEventListener('open', function (e) {
      console.log('open');
  }, false);
  source.addEventListener('error', function (e) {
      console.log('error')
  }, false);
  </code></pre>
  
  <p>My problem is the following: Whenever I load the extension, it's saying 'error', but how do I find out what exactly triggered the error?</p>