Open tanwald opened 9 months ago
This is the expected behavior because you create the tab in the default contextualidentity since you didn't specify the cookieStoreId
parameter (see: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/create). So what's currently happening is:
onCompleted
listener returns the id of the container tab which is different from the first tab createdRelated to: https://github.com/mozilla/multi-account-containers/issues/1029
Before submitting a bug report
Step to reproduce
Actual behavior
The ID of the created tab in step 1 is different than the ID of the same tab in step 2. The tab changes its identity.
Expected behavior
The ID of a tab should be immutable/consistent. Changes should be at least observable. Extensions that create tabs should be able to close them again.