From c438ed47907285f7511dda7a63f698de59e87cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20M=C3=B6sner?= Date: Tue, 15 Apr 2025 12:56:03 +0200 Subject: [PATCH] docs: `webContents.opener` can be null (#46579) --- docs/api/web-contents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 000c6b9a766b..672e9af16dd0 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -2389,7 +2389,7 @@ A [`WebFrameMain`](web-frame-main.md) property that represents the top frame of #### `contents.opener` _Readonly_ -A [`WebFrameMain`](web-frame-main.md) property that represents the frame that opened this WebContents, either +A [`WebFrameMain | null`](web-frame-main.md) property that represents the frame that opened this WebContents, either with open(), or by navigating a link with a target attribute. [keyboardevent]: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent