diff --git a/electron/index.d.ts b/electron/index.d.ts index 3344847224..612e9e4ab0 100644 --- a/electron/index.d.ts +++ b/electron/index.d.ts @@ -3967,9 +3967,13 @@ declare namespace Electron { */ getTitle(): string; /** - * @returns The favicon of the web page. + * @returns Whether the web page is destroyed. */ - getFavicon(): NativeImage; + isDestroyed(): boolean; + /** + * @returns Whether the web page is focused. + */ + isFocused(): boolean; /** * @returns Whether web page is still loading resources. */