chromium/third_party/blink/web_tests/http/tests/xmlhttprequest/web-apps/014.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
 <head>
  <title>status</title>
 </head>
 <body>
  <p>FAIL: Script did not run.</p>
  <script type="text/javascript">
   if (window.testRunner)
     testRunner.dumpAsText();

   var p = document.getElementsByTagName('p')[0];
   p.firstChild.data = 'FAIL: Test script did not finish.';
   if (!window.XMLHttpRequest)
     window.XMLHttpRequest = function () { return new ActiveXObject("Microsoft.XMLHTTP"); }
   var r = new XMLHttpRequest();
   r.open('GET', '014-test404.asis', false);
   r.send(null);
   var c = r.status;
   p.firstChild.data = c == 404 ? 'PASS' : 'FAIL:' + c;
  </script>
 </body>
</html>