How to programmatically set Window.opener?

25 views
Skip to first unread message

guest271314

unread,
Nov 26, 2022, 11:59:47 AM11/26/22
to Chromium-discuss
Chrome extensions have chrome.windows.create() and chrome.offscreen.createDocument().

setSelfAsOpener re chrome.windows.create() doesn't work for MV3 extensions, an error is thrown.

There is no way that I know of to prgrammatically set opener for an offscreen document (Window) created using chrome.offscreen.createDocument().

Is there any way that I might have overlooked to programmatically set opener on a Window created by a Chrome extension?
Reply all
Reply to author
Forward
0 new messages