@@ -79,8 +79,8 @@ or in the future for a meeting that is about to start.
79
79
<p> A <a for=/>notification</a> has an associated
80
80
<dfn for=notification id=renotify-preference-flag>renotify preference</dfn> (a boolean). It is
81
81
initially false. When true, indicates that the end user should be alerted after the
82
- <a> show steps</a> have run with a new notification that has the same <a for=notification>tag</a> as
83
- an existing notification.
82
+ <a for=/>notification show steps</a> have run with a new notification that has the same
83
+ <a for=notification>tag</a> as an existing notification.
84
84
85
85
<p> A <a for=/>notification</a> has an associated
86
86
<dfn for=notification id=silent-preference-flag>silent preference</dfn> (null or a boolean). It is
@@ -466,10 +466,13 @@ interpreted as a language tag. Validity or well-formedness are not enforced. [[!
466
466
<h3 id=showing-a-notification>Showing a notification</h3>
467
467
468
468
<div algorithm>
469
- <p> The <dfn>show steps</dfn> for a given <a for=/>notification</a> <var> notification</var> are:
469
+ <p> The <dfn export>notification show steps</dfn> for a given <a for=/>notification</a>
470
+ <var> notification</var> are:
470
471
<!-- These steps are invoked from "in parallel" steps -->
471
472
472
473
<ol>
474
+ <li><p> Run the <a>fetch steps</a> for <var> notification</var> .
475
+
473
476
<li><p> Wait for any <a for=/ lt=fetch>fetches</a> to complete and <var> notification</var> 's
474
477
<a for=notification>image resource</a> , <a for=notification>icon resource</a> , and
475
478
<a for=notification>badge resource</a> to be set (if any), as well as the
@@ -738,9 +741,7 @@ constructor steps are:
738
741
"<code> granted</code> ", then <a>queue a task</a> to <a>fire an event</a> named
739
742
<code> error</code> on <a>this</a> , and abort these steps.
740
743
741
- <li><p> Run the <a>fetch steps</a> for <var> notification</var> .
742
-
743
- <li><p> Run the <a>show steps</a> for <var> notification</var> .
744
+ <li><p> Run the <a for=/>notification show steps</a> for <var> notification</var> .
744
745
</ol>
745
746
</ol>
746
747
</div>
@@ -1091,9 +1092,7 @@ method steps are:
1091
1092
<a>DOM manipulation task source</a> given <var> global</var> to <a for=/>reject</a>
1092
1093
<var> promise</var> with a {{TypeError}} , and abort these steps.
1093
1094
1094
- <li><p> Run the <a>fetch steps</a> for <var> notification</var> .
1095
-
1096
- <li><p> Run the <a>show steps</a> for <var> notification</var> .
1095
+ <li><p> Run the <a for=/>notification show steps</a> for <var> notification</var> .
1097
1096
1098
1097
<li><p> <a>Queue a global task</a> on the <a>DOM manipulation task source</a> given
1099
1098
<var> global</var> to <a for=/>resolve</a> <var> promise</var> with undefined.
0 commit comments