Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Nov 6, 2024
1 parent 5491a0e commit e2cc8b0
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
};
</script>
</head>
<body data-cite="service-workers FILEAPI secure-contexts hr-time permissions ECMASCRIPT NOTIFICATIONS">
<body data-cite=
"service-workers FILEAPI secure-contexts hr-time permissions ECMASCRIPT NOTIFICATIONS">
<section id="abstract">
<p>
The <cite>Push API</cite> enables sending of a <a>push message</a> to a web application via
Expand Down Expand Up @@ -343,7 +344,7 @@ <h3>
</p>
</li>
<li>
<p>
<p data-cite="INFRA">
If <var>message</var> is not a [=/map=], then return failure.
</p>
</li>
Expand All @@ -369,7 +370,7 @@ <h3>
</p>
</li>
<li>
<p>
<p data-cite="INFRA">
If <var>notificationInput</var> is not a [=/map=], then return failure.
</p>
</li>
Expand Down Expand Up @@ -460,15 +461,17 @@ <h3>
</li>
<li>
<p>
Let <var>notification</var> be the result of <a>creating a notification</a> given
Let <var>notification</var> be the result of <a data-lt=
"create a notification">creating a notification</a> given
<var>notificationTitle</var>, <var>notificationOptions</var>, <var>origin</var>,
<var>baseURL</var>, and <var>fallbackTimestamp</var>. If this throws an exception,
then return failure.
</p>
</li>
<li>
<p>
If <var>notification</var>'s [=notification/URL=] is null, then return failure.
If <var>notification</var>'s [=notification/navigation URL=] is null, then return
failure.
</p>
</li>
<li>
Expand Down Expand Up @@ -1572,8 +1575,9 @@ <h2>
</li>
<li>
<p>
If a notification has been shown through {{showNotification()}} at this
point, then abort these steps.
If a notification has been shown through
{{ServiceWorkerRegistration/showNotification()}} at this point, then
abort these steps.
</p>
</li>
</ol>
Expand Down

0 comments on commit e2cc8b0

Please sign in to comment.