title: How to trigger script.onerror in Internet Explorer?
body: <p>The <a href="http://msdn.microsoft.com/en-us/library/cc197053%28VS.85%29.aspx" rel="noreferrer">onerror page on MSDN</a> states that the onerror handler can be attached to a script element and that it "Fires when an error occurs during object loading.".</p>
  
  <p>For the purpose of unit tests, I am trying to get this onerror handler to fire, but could not find a suitable example.</p>
  
  <p>The following code triggers an error in Firefox, but no alert is displayed in Internet Explorer</p>
  
  <pre><code>&lt;script src="http://www.google.com/NOTFOUND.js" onerror="alert('error fired')"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Does anyone know a value for script.src that would fire the handler attached to script.onerror?</p>