summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shared-storage/resources/verify-shared-storage.https.html
blob: 52c79e7e85afc66782d7d6c144c1a6b55bfccada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
<body>
<script>
  try {
    window.sharedStorage;
    window.parent.postMessage({ accessSharedStorageResult: 'success'}, "*");
  } catch (error) {
    window.parent.postMessage({ accessSharedStorageResult: 'failure'}, "*");
  }
</script>
</body>
</html>