Home | History | Annotate | Download | only in resources
      1 <script>
      2 try {
      3     var req = new XMLHttpRequest;
      4     req.open("GET", "simple.txt", false);
      5     req.send(null);
      6     alert("FAIL, unexpected response: " + req.responseText);
      7 } catch (ex) {
      8     // Loading should fail, because simple.txt is not in cache manifest.
      9     parent.postMessage("allDone", "*");
     10 }
     11 </script>
     12