Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

/*
Any copyright is dedicated to the Public Domain.
*/
add_task(async function testSteps() {
const principal = getPrincipal("https://example.com");
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);
});