summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/general/frameStorageChrome.html
blob: 51f4fa85e64003c84978c54e9598f2ea619c6174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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(async function() {
    // We just check if we can access storage as chrome using special powers!
    var params = new URLSearchParams(location.search.substr(1));
    await chromePower(params.get('allowed') == 'yes', params.get('blockSessionStorage') == 'yes');
  });

</script>

</head>

<body>
</body>
</html>