blob: 01bc892bde32192bd0212f4ba3700e3bd58f18fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<html manifest="resources/whitelist-wildcard.manifest">
<body>
<p>Test that online whitelist wildcard flag is implemented.</p>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
function test()
{
try {
var req = new XMLHttpRequest;
req.open("GET", "resources/empty.txt", false);
req.send();
document.body.appendChild(document.createTextNode("SUCCESS"));
} catch (ex) {
document.body.appendChild(document.createTextNode(ex));
}
if (window.layoutTestController)
layoutTestController.notifyDone();
}
applicationCache.oncached = test;
applicationCache.onnoupdate = test;
</script>
</body>
</html>
|