Durable Storage: Refactor browser test and test the basic "deny" flow.
[chromium-blink-merge.git] / chrome / test / data / durable / durability-permissions.html
blob8db22a4d675554c54f7c94605209a74985b33de2
1 <!DOCTYPE HTML>
2 <script>
4 function checkPermission() {
5 navigator.storage.persistentPermission().then(function(permission) {
6 window.domAutomationController.send(permission);
7 });
10 function requestPermission() {
11 navigator.storage.requestPersistent().then(function(is_persistent) {
12 window.domAutomationController.send(is_persistent);
13 });
15 </script>