summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shared-storage/resources/sender0.html
blob: e3d0475f1220bbcbb71c11451bbd9ba96ec0f3eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<script src="/fenced-frame/resources/utils.js"></script>
<body>
<script>
async function init() {
    const [ancestor_key] = parseKeylist();

    window.fence.reportEvent({
        eventType: 'click',
        eventData: "user clicked",
        destination: ['shared-storage-select-url']
    });

    writeValueToServer(ancestor_key, "sender0_reported");
}

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