summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shared-storage/resources/delete-key.https.html
blob: 41595f3ee3868a1e7fa1f866bcc8936de16f5cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
<script src=/resources/testharness.js></script>
<script src=/shared-storage/resources/util.js></script>
<script src=/fenced-frame/resources/utils.js></script>
<body>
<script>

async function init() {
    const [outerKey] = parseKeylist();
    const parsedData = parseExpectedKeyData();
    await sharedStorage.delete(parsedData['expectedKey']);
    await writeValueToServer(outerKey, "delete_key_loaded");
}

init();
</script>
</body>
</html>