set-key-value.https.html (531B)
1 <!DOCTYPE html> 2 <html> 3 <script src=/resources/testharness.js></script> 4 <script src=/shared-storage/resources/util.js></script> 5 <script src=/fenced-frame/resources/utils.js></script> 6 <body> 7 <script> 8 9 async function init() { 10 const [outerKey] = parseKeylist(); 11 const parsedData = parseExpectedKeyAndValueData(); 12 await sharedStorage.set(parsedData['expectedKey'], 13 parsedData['expectedValue']); 14 await writeValueToServer(outerKey, "set_key_value_loaded"); 15 } 16 17 init(); 18 </script> 19 </body> 20 </html>