mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-03 03:59:23 +00:00
Set the default Firefox container id to 1 and reject ids outside the supported 1..4294967293 range. Firefox reserves userContextId = 0 for the default, non-container context: - nsIScriptSecurityManager::DEFAULT_USER_CONTEXT_ID = 0: https://searchfox.org/firefox-main/source/caps/nsIScriptSecurityManager.idl - nsIPrincipal documents that the default userContext returns DEFAULT_USER_CONTEXT_ID: https://searchfox.org/firefox-main/source/caps/nsIPrincipal.idl#1135-1147 - Mozilla review discussion also distinguishes default context 0 from public identities: https://bugzilla.mozilla.org/show_bug.cgi?id=1337964#c7 Also cover the lower bound with a dedicated Firefox container test and update the default container fixture.
2 lines
387 B
JSON
2 lines
387 B
JSON
{"identities":[{"color":"yellow","icon":"circle","name":"shopping","public":true,"userContextId":1},{"accessKey":"","color":"","icon":"","name":"userContextIdInternal.thumbnail","public":false,"userContextId":4294967294},{"accessKey":"","color":"","icon":"","name":"userContextIdInternal.webextStorageLocal","public":false,"userContextId":4294967295}],"lastUserContextId":1,"version":5}
|