blob: 7a4733139ce929edbfaf5d74f509ed950eda93b5 (
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(function* () {
// We just check if we can access storage as chrome using special powers!
var params = new URLSearchParams(location.search.substr(1));
yield chromePower(params.get('allowed') == 'yes', params.get('blockSessionStorage') == 'yes');
});
</script>
</head>
<body>
</body>
</html>
|