Bug 1946184 - Fix computing the CSD margin right after calling HideWindowChrome(...
[gecko.git] / dom / quota / test / browser / permissionsPrompt.html
blob5f11bf6c953ee46970892511ea98037d3da12ae0
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <html>
6 <head>
7 <meta charset=UTF-8>
8 <title>Persistent-Storage Permission Prompt Test</title>
10 <script type="text/javascript" src="helpers.js"></script>
12 <script type="text/javascript">
13 function* testSteps()
15 SpecialPowers.pushPrefEnv({
16 "set": [["dom.storageManager.prompt.testing", false],
17 ["dom.storageManager.prompt.testing.allow", false]]
18 }, continueToNextStep);
19 yield undefined;
21 navigator.storage.persist().then(result => {
22 testGenerator.next(result);
23 });
24 testResult = yield undefined;
26 finishTest();
28 </script>
30 </head>
32 <body onload="runTest();" onunload="finishTestNow();"></body>
34 </html>