2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/publicdomain/zero/1.0/
6 function* testSteps() {
7 SpecialPowers
.pushPrefEnv(
9 set: [["dom.storageManager.prompt.testing.allow", false]],
15 navigator
.storage
.persist().then(grabArgAndContinueHandler
);
16 let persistResult
= yield undefined;
21 "Cancel the persist prompt and resolve a promise with false"
24 navigator
.storage
.persisted().then(grabArgAndContinueHandler
);
25 let persistedResult
= yield undefined;
30 "Persist/persisted results are consistent"