|
56 | 56 | };
|
57 | 57 | </script>
|
58 | 58 | </head>
|
59 |
| - <body data-cite="service-workers FILEAPI secure-contexts hr-time permissions ECMASCRIPT NOTIFICATIONS"> |
| 59 | + <body data-cite= |
| 60 | + "service-workers FILEAPI secure-contexts hr-time permissions ECMASCRIPT NOTIFICATIONS"> |
60 | 61 | <section id="abstract">
|
61 | 62 | <p>
|
62 | 63 | The <cite>Push API</cite> enables sending of a <a>push message</a> to a web application via
|
|
343 | 344 | </p>
|
344 | 345 | </li>
|
345 | 346 | <li>
|
346 |
| - <p> |
| 347 | + <p data-cite="INFRA"> |
347 | 348 | If <var>message</var> is not a [=/map=], then return failure.
|
348 | 349 | </p>
|
349 | 350 | </li>
|
|
369 | 370 | </p>
|
370 | 371 | </li>
|
371 | 372 | <li>
|
372 |
| - <p> |
| 373 | + <p data-cite="INFRA"> |
373 | 374 | If <var>notificationInput</var> is not a [=/map=], then return failure.
|
374 | 375 | </p>
|
375 | 376 | </li>
|
@@ -460,15 +461,17 @@ <h3>
|
460 | 461 | </li>
|
461 | 462 | <li>
|
462 | 463 | <p>
|
463 |
| - Let <var>notification</var> be the result of <a>creating a notification</a> given |
| 464 | + Let <var>notification</var> be the result of <a data-lt= |
| 465 | + "create a notification">creating a notification</a> given |
464 | 466 | <var>notificationTitle</var>, <var>notificationOptions</var>, <var>origin</var>,
|
465 | 467 | <var>baseURL</var>, and <var>fallbackTimestamp</var>. If this throws an exception,
|
466 | 468 | then return failure.
|
467 | 469 | </p>
|
468 | 470 | </li>
|
469 | 471 | <li>
|
470 | 472 | <p>
|
471 |
| - If <var>notification</var>'s [=notification/URL=] is null, then return failure. |
| 473 | + If <var>notification</var>'s [=notification/navigation URL=] is null, then return |
| 474 | + failure. |
472 | 475 | </p>
|
473 | 476 | </li>
|
474 | 477 | <li>
|
@@ -1572,8 +1575,9 @@ <h2>
|
1572 | 1575 | </li>
|
1573 | 1576 | <li>
|
1574 | 1577 | <p>
|
1575 |
| - If a notification has been shown through {{showNotification()}} at this |
1576 |
| - point, then abort these steps. |
| 1578 | + If a notification has been shown through |
| 1579 | + {{ServiceWorkerRegistration/showNotification()}} at this point, then |
| 1580 | + abort these steps. |
1577 | 1581 | </p>
|
1578 | 1582 | </li>
|
1579 | 1583 | </ol>
|
|
0 commit comments