summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/appcache/resources/subframe-2.html
blob: 9fb6c0f0c0703e4e7ecfe5577e8f085d183f9a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
<script>
try {
    var req = new XMLHttpRequest;
    req.open("GET", "simple.txt", false);
    req.send(null);
    alert("FAIL, unexpected response: " + req.responseText);
} catch (ex) {
    // Loading should fail, because simple.txt is not in cache manifest.
    parent.postMessage("allDone", "*");
}
</script>