docs: webContents.opener can be null (#46579)

This commit is contained in:
Filip Mösner 2025-04-15 12:56:03 +02:00 committed by GitHub
parent b1fdf2a8c7
commit c438ed4790
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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