title: What HTTP headers/responses trigger the "onerror" handler on a script tag?
body: <p>I'm inserting a <code>script</code> tag into the DOM like so (think JSONP):</p>
  
  <pre><code>var s = document.createElement('script');
  s.src = "http://abc.com/js/j.js";
  s.onerror = function() {
     alert("Error loading script tag!");
  };
  document.getElementsByTagName('head')[0].appendChild(s);
  </code></pre>
  
  <p>Now, I know a <code>404</code> response from <code>abc.com</code> for the script above would trigger that event... What other headers/responses would cause the <code>script</code> tag to throw an error?  I'd imagine it varies a little bit by browser, but if anyone has any sort of list that would be very helpful.</p>
  
  <p>Thanks!</p>