File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -294,13 +294,14 @@ removed from the <a>list of notifications</a>.
294
294
<h3 id="permissions-integration">Permissions integration</h3>
295
295
296
296
<p> The Notifications API is a <a>powerful feature</a> which is identified by the
297
- <a for="powerful feature">name</a> "{{PermissionName/notifications}} ". [[!Permissions]]
297
+ <a for="powerful feature">name</a> "<dfn export permission><code>notifications</code></dfn> ".
298
+ [[!Permissions]]
298
299
299
300
<p> To <dfn>get the notifications permission state</dfn> , run these steps:
300
301
301
302
<ol>
302
303
<li><p> Let <var> permissionState</var> be the result of <a>getting the current permission state</a>
303
- with "{{PermissionName/ notifications}} ".
304
+ with "<a permission><code> notifications</code></a> ".
304
305
305
306
<li><p> If <var> permissionState</var> is "<code> prompt</code> ", then return "<code> default</code> ".
306
307
@@ -747,7 +748,7 @@ method steps are:
747
748
748
749
<ol>
749
750
<li><p> Let <var> permissionState</var> be the result of
750
- <a>requesting permission to use</a> "{{PermissionName/ notifications}} ".
751
+ <a>requesting permission to use</a> "<a permission><code> notifications</code></a> ".
751
752
752
753
<li>
753
754
<p> <a>Queue a global task</a> on the <a>DOM manipulation task source</a> given <var> global</var>
You can’t perform that action at this time.
0 commit comments