You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions
Hi! I noticed recently that chrome.tabs.create({ url: 'some-url' }) will fail if at that time the user is holding down on a tab in the tab strip with their mouse (and optionally dragging it around). The error is: "Tabs cannot be edited right now (user may be dragging a tab)."
I can either keep retrying for 5-10 seconds until user stops holding/dragging. Or I can send a message to my offscreen document and have it call window.open(url) - which seems to open a new tab correctly.
I'm not sure which approach is better and if there's any hidden issues with either (that may be platform specific). So I'm posting on the group to get some guidance.