Austin Horstman
4bf1f0bcd1
mkFirefoxModule: reject container id 0
...
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.
2026-04-23 22:07:30 -05:00
Ihar Hrachyshka
75268f6252
tests: enable all firefox tests on darwin (plus derivations) ( #6960 )
2025-05-03 10:51:18 -05:00
Austin Horstman
cba2f9ce95
treewide: reformat nixfmt-rfc-style
...
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00
Austin Horstman
95711f9266
treewide: remove with lib ( #6512 )
...
* nixos: remove with lib
* nix-darwin: remove with lib
* home-manager: remove with lib
* modules/accounts: remove with lib
* modules/config: remove with lib
* modules/i18n: remove with lib
* modules/misc: remove with lib
* modules: remove with lib
* modules/targets: remove with lib
* tests/modules/firefox: remove with lib
* tests/modules/services: remove with lib
2025-03-07 14:16:46 -06:00
Scharada
122f70545b
firefox: change container.json version to 5
2024-10-19 09:02:11 +02:00
Kira Bruneau
271c83e21e
firefox: organize tests by submodule ( #5698 )
...
Split off from #5697 , organizes firefox tests by submodule.
This is intended to match directory structure setup for the new search submodule.
2024-10-07 23:06:52 +02:00