2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
8 <title>Persistent-Storage Permission Prompt Test
</title>
10 <script type=
"text/javascript" src=
"helpers.js"></script>
12 <script type=
"text/javascript">
15 SpecialPowers
.pushPrefEnv({
16 "set": [["dom.storageManager.prompt.testing", false],
17 ["dom.storageManager.prompt.testing.allow", false]]
18 }, continueToNextStep
);
21 navigator
.storage
.persist().then(result
=> {
22 testGenerator
.next(result
);
24 testResult
= yield undefined;
32 <body onload=
"runTest();" onunload=
"finishTestNow();"></body>