Re: [w3c/push-api] Add app badge to Declarative Web Push (PR #402)

@marcoscaceres commented on this pull request.



>                  </p>
               </li>
               <li>
                 <p>
-                  Otherwise, set |notificationResult| to |registration|'s [=service worker
-                  registration/has shownotification() been successfully invoked|has
-                  `showNotification()` been successfully invoked=].
+                  Set |appBadgeResult| to true if {{NavigatorBadge/setAppBadge()}} has been
+                  invoked; otherwise false.

IIUC, in the case of notifications, it emulates calling `showNotification()`... 

Instead, for the Badging case, can we reuse "set the application badge for an installed web application" and I can get that to return a boolean if it worked? 



-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/402#discussion_r2335540067
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/push-api/pull/402/review/3204404563@github.com>

Received on Wednesday, 10 September 2025 04:47:22 UTC