File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1129,6 +1129,12 @@ partial interface ServiceWorkerGlobalScope {
1129
1129
};
1130
1130
</pre>
1131
1131
1132
+ <p> A <a for=/>service worker registration</a> has an associated
1133
+ <dfn export for="service worker registration">has <code>showNotification()</code> been successfully invoked</dfn>
1134
+ (a <a for=/>boolean</a> ), which is initially false.
1135
+
1136
+ <p class=note> This is infrastructure for the <cite> Push API</cite> standard. [[PUSH-API]]
1137
+
1132
1138
<div algorithm>
1133
1139
<p> The
1134
1140
<dfn method for=ServiceWorkerRegistration><code>showNotification(<var>title</var>, <var>options</var>)</code></dfn>
@@ -1163,6 +1169,10 @@ method steps are:
1163
1169
1164
1170
<li><p> Run the <a for=/>notification show steps</a> for <var> notification</var> .
1165
1171
1172
+ <li><p> Set <var> notification</var> 's <a for=notification>service worker registration</a>' s
1173
+ <a for="service worker registration">has <code>showNotification()</code> been successfully invoked</a>
1174
+ to true.
1175
+
1166
1176
<li><p> <a>Queue a global task</a> on the <a>DOM manipulation task source</a> given
1167
1177
<var> global</var> to <a for=/>resolve</a> <var> promise</var> with undefined.
1168
1178
</ol>
You can’t perform that action at this time.
0 commit comments