Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: true
- Manifest: dom/localstorage/test/unit/xpcshell.toml
/*
Any copyright is dedicated to the Public Domain.
*/
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);
}