summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fenced-frame/resources/permission-notification-inner.html
blob: d01d10034c1aa59910ae66d1c38ecb27ee7c96f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<script src="utils.js"></script>
<title>Fenced frame content to report the result of Notification.requestPermission</title>

<body>
<script>
(async () => {
  const [permission_notification_key] = parseKeylist();
  const result = await Notification.requestPermission();
  writeValueToServer(permission_notification_key, `result: ${result}`);
})();
</script>
</body>