2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/publicdomain/zero/1.0/
7 * This test is mainly to verify clearing of storages for private browsing.
10 async
function testSteps() {
12 "clearStoragesForPrivateBrowsing_profile",
13 "defaultStorageDirectory_shared",
18 let request
= clear();
19 await
requestFinished(request
);
21 info("Verifying storage");
23 verifyStorage(packages
, "beforeInstall");
25 info("Installing package");
27 installPackages(packages
);
29 info("Verifying storage");
31 verifyStorage(packages
, "afterInstall");
33 info("Clearing private browsing");
35 request
= clearPrivateBrowsing();
36 await
requestFinished(request
);
38 info("Verifying storage");
40 verifyStorage(packages
, "afterClearPrivateBrowsing");