Multi-account containers do not clear container notification when exiting site
Categories
(Core :: DOM: Security, defect)
Tracking
()
People
(Reporter: jeff, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Steps to reproduce:
Set up various containers for various websites.
(BTW, It's a three-step process when it should take immediately when you select "Always open site in ..." . The site is first duplicated in another new tab that has to be dismissed, and then the next time you revisit the site, it asks for confirmation to place it in that container. As they say, Just do it!)
When you visit a site, the container label is displayed on the URL bar. OK
However, when you leave that site for another site no in a container, the previous container label remains displayed. This is extremely confusing as it becomes impossible to know what is and is not in a given container. The label only gets replaced when you enter a different container.
Actual results:
See above.
Expected results:
The container label should get erased upon leaving any site and only redisplayed when entering another container.
Because this is a security feature, I'd classify it as a security bug because it is misleading the user.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Security' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•4 years ago
|
||
This is a bit of a misunderstanding of what a container tab is. The "container" is an intrinsic part of a tab context, and once created a tab is always in the same container. The label stays because that tab stays in that container as you navigate from site to site. It is very much like a private browsing window that is always in private browsing: you can't switch the private window to non-private, all you can do is close it and open a separate non-private window.
You can assign a site to always open in a particular container, in which case—once it's actually working and you're past the annoying confirmations—it forces the creation of a new tab context in the new container. There is a preference option for the add-on where you can have the new tab context replace the previous one instead of increasing the number of open tabs. But make no mistake: the previous tab did not switch containers; instead a new tab context was created and the old one was closed giving the appearance of a tab switching containers.
Currently the add-on supports forcing certain domains into a specific container ("always open in..."), but there is no "nothing but domains X,Y,Z in this container" setting. This is in part because when a site navigates to a different site it can transmit state as part of the URL. The context of the new site contains some data from the original site (for example, Facebook and other sites send a tracking ID parameter) so we do want to consider that part of the same container context.
For filing feature requests for the Multi-Account Containers web extension please see the project's GitHub repository https://github.com/mozilla/multi-account-containers/issues
| Reporter | ||
Comment 3•4 years ago
|
||
Daniel:
I understand what you are saying here, however I really find this behavior very non-intuitive. I see the "Replace tab" setting which is a good thing. I have it set and it does make sense when moving from one containered site to another one of a different type, but I don't understand why this option isn't extended to moving from one container type to a site without a container by also replacing the tab. This would meet my needs and be better for how I use tabs. I sure don't see the benefit of, let's say, starting out on Facebook in a "Social" container and then navigating to a shopping or technical site and still having those sited be placed in the "Social" container. Doesn't that mean that the FB trackers can invade these other sites since the new sites have been brought into the "Social" container? Maybe I'm still missing an understanding of how the containers cordon off the trackers.
Description
•