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.
*/
add_task(async function testSteps() {
const data = {
key: "foo",
value: "bar",
};
info("Getting storage");
const storage = getLocalStorage(principal);
info("Adding data");
storage.setItem(data.key, data.value);
info("Resetting client");
const request = resetClient(principal);
await requestFinished(request);
});