Open Bug 1318652 Opened 8 years ago Updated 2 years ago

automatic contextual container based on domain (or regex)

Categories

(Core :: Security, enhancement, P3)

53 Branch
enhancement

Tracking

()

UNCONFIRMED
Tracking Status
firefox57 --- fix-optional

People

(Reporter: m-firefox, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [userContextId])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20161116030212

Steps to reproduce:

having a way to define that given domains (or more precisely urls matching a given regex) should always open in a given context can be interesting for peaople mixing for example personal and work activities.
This way, they can say that everything relative to the corporate domaine and tools has to be opened in the work context while other will open in the default one.

This is complementary to 1213290
Severity: normal → enhancement
Component: Untriaged → Security
Product: Firefox → Core
Whiteboard: [userContextId]
This may make more sense as an addon initially, which with the latest version of nightly is now possible with userContextId possible to be set via a WebExtension which would give the extension the ability to check a regex and auto assign.

Some problems in implementing this:
1. Dropping a user straight into a container could be a privacy issue by loading a URL that connects linker to URL loaded
2. CSRF also becomes an issue again by auto loading URLs in the correct container
3. Users may want to login to two Facebook accounts, providing some UX to select the container might be useful here

I planned to try my hand at making a quick extension to demo this behaviour which would give us something to look at.
Depending on whether OP also wants to adjust the container during tab navigation and not just during tab creation there may be significant overlap in his use-case to mine in bug 1323873
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.