Source code
Revision control
Copy as Markdown
Other Tools
<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>