Add support for containers to browser.startup.homepage




7 months ago
20 days ago


(Reporter: diafygi, Unassigned)


63 Branch

Firefox Tracking Flags

(Not tracked)



(2 attachments)



7 months ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0

Steps to reproduce:

1. Enable Multi-Account Containers
2. Set to always open in a Container B
3. Set as the Custom URL homepage in browser.startup.homepage (or via Preferences > Home > Homepage and new windows > Custom URLs)

Actual results:

Situation 1 (incorrect behavior):
1. Close Firefox.
2. Open Firefox.
3. Homepage opens to, but not in Container B
4. Refresh the page.
5. A new tab opens in Container B with as url.

Situation 2 (correct behavior):
1. Have Firefox open.
2. Click the Home icon in the top toolbar.
3. A new tab opens in Container B with as url.

Expected results:

1. When opening Firefox for the first time, Custom URLs for the homepage should open in their default containers. NOTE: This may be security issue since it means urls you expected to open in a specific container is now leaked to your main tabs.

2. The browser.startup.homepage field in about:config should allow to manually specify containers in which to open the urls.

For example:
browser.startup.homepage = "|"

Should be able to do something like:
browser.startup.homepage = "|{ContainerB}"

Open to suggestions on what the notation syntax should be.

Comment 1

7 months ago
Posted image multiAccount.PNG
I've tested this on latest FF 63 and 64, but I couldn't reproduce it. I've set to always open in Personal container, also set it as homepage in browser.startup.homepage. Following the STR from Situation 1, I'm asked in which container I want to open it after restarting the browser(see my attachment).
 Could you provide some additional information in order to reproduce it? 

Thank you!
Flags: needinfo?(diafygi)

Comment 2

7 months ago
I created a 90 second screen capture video showing how to reproduce the issue on a new firefox profile (Firefox 63, Xubuntu 16.04).
Flags: needinfo?(diafygi)

Comment 3

6 months ago
I'm setting the component, in order to involve the development team reviewing this. Feel free to change it to a more appropriate one, if I'm wrong.
Component: Untriaged → Security

Comment 4

3 months ago

I just updated to 66.0.1 (64-bit) Mozilla Firefox for Ubuntu canonical - 1.0, and domains now open in their correct containers. Not sure what changed in the latest update, but you can now mark this issue as resolved.


Comment 5

20 days ago

I just updated to 67.0 (64-bit) Mozilla Firefox for Ubuntu canonical - 1.0, the bug is back. Urls in browser.startup.homepage setting do not automatically open in their containers.

You need to log in before you can comment on or make changes to this bug.