summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/general/frameStorageAllowed.html
blob: 62f4ac4b1085e8742345a39fdfa17f4a0c4f31e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>frame for storage allowed test</title>

<script type="text/javascript" src="https://example.com/tests/dom/tests/mochitest/general/storagePermissionsUtils.js"></script>
<script type="text/javascript">

  task(function* () {
    // We should be able to access storage
    yield storageAllowed();

    // We should be able to run a web worker which can access storage
    yield runWorker("workerStorageAllowed.js");
  });

</script>

</head>

<body>
</body>
</html>