chromium/third_party/blink/web_tests/external/wpt/shared-storage/resources/set-key-value.https.html

<!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 = parseExpectedKeyAndValueData();
    await sharedStorage.set(parsedData['expectedKey'],
                            parsedData['expectedValue']);
    await writeValueToServer(outerKey, "set_key_value_loaded");
}

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