Definition
badge (Notification option)
badge is a field passed to showNotification(title, { badge: "/badge-72.png", ... }) that supplies a small, typically monochrome PNG icon (recommended around 72x72 or 96x96) shown in the Android status bar and shade, as distinct from the larger icon field used for the main notification image.
Android renders the badge image as a silhouette mask, so it should be a simple white-on-transparent glyph — a full-colour photo or logo will typically be flattened and look wrong once masked.
This is only used on Android; other platforms either ignore the field entirely or reuse the main icon in its place, so testing solely on desktop Chrome will not reveal badge rendering problems.
badge is unrelated to the separate, experimental Badging API (navigator.setAppBadge()) that puts a numeric count on the app icon itself — the two share a name but serve different purposes and have different browser support.
The full Notification options list, including badge, is documented at https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification#options.