You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#fetch">fetch</a> it and wait for the resource to be
<vartitle="">notification</var>'s<ahref="#icon-url">icon URL</a>finished and the
351
-
image format is supported, set<vartitle="">notification</var>'s
352
-
<ahref="#icon">icon</a> to the decoded resource. (Otherwise
353
-
<vartitle="">notification</var> has no <ahref="#icon">icon</a>.)
343
+
<li>
344
+
<p>If the notification platform supports icons,
345
+
<vartitle="">notification</var>'s <ahref="#icon-url">icon URL</a> is set and has not
346
+
yet been <aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#fetch"title="fetch">fetched</a>,
347
+
<aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#fetch">fetch</a> it and wait for the resource to
<vartitle="">notification</var>'s <ahref="#icon">icon</a> to the decoded resource.
353
+
(Otherwise <vartitle="">notification</var> has no <ahref="#icon">icon</a>.)
354
354
355
355
<li>
356
356
<p><aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">Queue a task</a> to run these substeps:
@@ -381,18 +381,18 @@ <h3 id="replacing-a-notification"><span class="secno">4.7 </span>Replacing a not
381
381
<vartitle="">new</var> one are:
382
382
383
383
<ol>
384
-
<li><p>If the notification platform supports icons and
385
-
<vartitle="">new</var>'s <ahref="#icon-url">icon URL</a>has not yet been
<aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#fetch">fetch</a> it and wait for the resource to be
<vartitle="">new</var>'s <ahref="#icon-url">icon URL</a>finished and the image format
392
-
is supported, set <vartitle="">new</var>'s <ahref="#icon">icon</a> to the decoded
393
-
resource. (Otherwise <vartitle="">new</var> has no <ahref="#icon">icon</a>.)
394
-
395
-
<li><p>If <vartitle="">old</var> is in the
384
+
<p>If the notification platform supports icons,
385
+
<vartitle="">new</var>'s <ahref="#icon-url">icon URL</a>is set and has not
386
+
yet been <aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#fetch" title="fetch">fetched</a>,
387
+
<aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#fetch">fetch</a> it and wait for the resource to
388
+
be fully downloaded.
389
+
390
+
<p>Once<aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#fetch" title="fetch">fetching</a> has
391
+
finished and the image format is supported, set
392
+
<vartitle="">new</var>'s <ahref="#icon">icon</a> to the decoded resource.
393
+
(Otherwise <vartitle="">new</var> has no <ahref="#icon">icon</a>.)
394
+
395
+
</p><li><p>If <vartitle="">old</var> is in the
396
396
<ahref="#list-of-pending-notifications">list of pending notifications</a>,
397
397
<aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a> to replace
398
398
<vartitle="">old</var> with <vartitle="">new</var>, in the same position, in
<aclass="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#script's-base-url" title="script's base URL">base URL</a>, and
500
+
if that does not fail, set
501
+
<vartitle="">notification</var>'s <ahref="#icon-url">icon URL</a> to the resulting
0 commit comments