1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 02:23:25 +00:00

feat(notification-processing): [PM-19877] System Notification Implementation - Making final touchups.

This commit is contained in:
Patrick Pimentel
2025-07-21 15:25:54 -04:00
parent 50621218d4
commit 5d01cd4309
4 changed files with 103 additions and 105 deletions

View File

@@ -1,6 +1,22 @@
export abstract class ActionsService {
/**
* Opens the popup.
* Opens the popup if it is supported.
*
* --- Limitations ---
*
* These are conditions that work where can open a popup programmatically from:
*
* Safari Web Browser -> Safari Extension
* - Requires gesture
* Chrome Web Browser -> Chrome Extension
* Chrome Extension Service Worker -> Chrome Extension
*
* These are conditions that are known to not work:
* Firefox Web Browser -> Firefox Extension
* Vivaldi Extension Background Service Worker -> Vivaldi Extension
* Safari Extension Background Service Worker -> Safari Extension
* Firefox Extension Background Service Worker -> Firefox Extension
* Opera Extension Background Service Worker -> Opera Extension
*/
abstract openPopup(): Promise<void>;
}