1
0
Fork 0
firefox/testing/web-platform/tests/shared-storage/resources/set-key-value.https.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
531 B
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>