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 {
11291129};
11301130</pre>
11311131
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+
11321138<div algorithm>
11331139<p> The
11341140<dfn method for=ServiceWorkerRegistration><code>showNotification(<var>title</var>, <var>options</var>)</code></dfn>
@@ -1163,6 +1169,10 @@ method steps are:
11631169
11641170 <li><p> Run the <a for=/>notification show steps</a> for <var> notification</var> .
11651171
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+
11661176 <li><p> <a>Queue a global task</a> on the <a>DOM manipulation task source</a> given
11671177 <var> global</var> to <a for=/>resolve</a> <var> promise</var> with undefined.
11681178 </ol>
You can’t perform that action at this time.
0 commit comments