blob: 12484ad7f346e2ccf8e2cf5c77b9d15221b068d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
*/
async function testSteps() {
const data = {
key: "foo",
value: "",
};
info("Setting pref");
Services.prefs.setBoolPref("dom.storage.next_gen", false);
info("Getting storage");
const storage = getLocalStorage();
info("Adding data");
storage.setItem(data.key, data.value);
}
|