Posts

Post not yet marked as solved
0 Replies
104 Views
Creating a new window with a tab ID parameter creates new window, but does not move the requested tab. To reproduce, have an tab loaded in a window and run this snippet in an extension background page. browser.tabs.query({}).then(tabs => { browser.windows.create({ tabId: tabs[0].id }); }); The expected behaviour happens in Chrome. – I wonder if this is a documentation issue, as the MDN docs say Safari has full support for browser.windows.create https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/windows/create but also say that Safari does not support tabs.move https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/move
Posted
by arthurc.
Last updated
.