mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
21 lines
577 B
HTML
21 lines
577 B
HTML
<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>
|