[eric] browser: never suspend an audible card (Chrome parity, music keeps playing off-screen)

This commit is contained in:
ciregenz
2026-07-08 14:00:26 -07:00
parent 161c65cdcd
commit c19f4ca99e
2 changed files with 16 additions and 2 deletions
+2
View File
@@ -23,6 +23,8 @@ export interface BrowserWebview extends HTMLElement {
getURL: () => string;
getTitle: () => string;
isLoading: () => boolean;
// Optional: present on real Electron webviews; the iframe fallback lacks it, callers must ?.() it.
isCurrentlyAudible?: () => boolean;
capturePage: (rect?: { x: number; y: number; width: number; height: number }) => Promise<ElectronNativeImage>;
executeJavaScript: (code: string) => Promise<any>;
sendInputEvent: (event: any) => void;