Name Description Size Coverage
head.js Initializes IPProtectionService and resolves once it reaches READY. 5907 -
head_enterprise.js exported waitForEvent 2304 -
test_GuardianClient.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 32093 -
test_IPPAlwaysOn.js Any copyright is dedicated to the Public Domain. https://creativecommons.org/publicdomain/zero/1.0/ 14703 -
test_IPPAutoRestore.js Tests that the VPN auto-restores when if the user had previously enabled it. 3926 -
test_IPPChannelFilter.js 28331 -
test_IPPEnterpriseAuthProvider.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4356 -
test_IPPFxaActivateAuthProvider.js Opt-in for tests that need the real IPPFxaActivateAuthProvider as the registered provider (e.g. tests exercising enrollment, entitlement update via Guardian, or FxA-specific state transitions). Mirrors `setupStubs` but targets the FxA singleton instead of the dummy. @param {object} sandbox - sinon sandbox used to install (and later restore) the stubs. @param {object} [aOptions] - same shape as defaultStubOptions. 12938 -
test_IPPGpiAuthProvider.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 25522 -
test_IPPInfrastructureRuleProvider.js The origin set is merged from the default prefs and the active auth provider's, and matching is per-origin so the path does not matter. 3212 -
test_IPPLifecycleHelper.js Brings the proxy to the ACTIVE state, at which point the lifecycle helper is observing sleep/wake. 12143 -
test_IPPPermissionRuleProvider.js Runs body with an inited provider, and leaves no ipp-vpn permissions behind so the next task starts from a clean store. @param {Function} body 6622 -
test_IPPProxyableRuleProvider.js Only http(s) traffic can be proxied, so anything else is EXCLUDED. A missing principal is treated the same way, which is what makes the channel path fail safe when it cannot attribute a channel to an origin. 3300 -
test_IPProtectionServerlist.js Any copyright is dedicated to the Public Domain. https://creativecommons.org/publicdomain/zero/1.0/ 14070 -
test_IPProtectionService.js Any copyright is dedicated to the Public Domain. https://creativecommons.org/publicdomain/zero/1.0/ 4337 -
test_IPProtectionStates.js Any copyright is dedicated to the Public Domain. https://creativecommons.org/publicdomain/zero/1.0/ 4577 -
test_IPProxyManager.js Returns a promise that never resolves and rejects with the signal's reason once it aborts, modelling a fetch that hangs until it is cancelled. @param {AbortSignal} signal 60081 -
test_IPPSessionPrefManager.js start() sets the pref; stop() resets it back. 2716 -
test_IPPSignInWatcher.js Bug 2022545: A user signed in to FxA but not enrolled in Sync must still be reported as signed in. The previous implementation read `services.sync.username`, which is only set when Sync is configured. 4543 -
test_IPPSiteRuleManager.js ", "*://guardian.example/*", "*://localhost/*", ]) ); IPPSiteRuleManager.init(); IPPPermissionRules.setRule( makePrincipal(INCLUDED), IPPPrincipalRules.EXCLUDED ); IPPPermissionRules.setRule( makePrincipal(USER_EXCLUDED), IPPPrincipalRules.EXCLUDED ); } registerCleanupFunction(() => { IPPSiteRuleManager.uninit(); Services.perms.removeByType(PERM_NAME); Services.prefs.clearUserPref(GUARDIAN_PREF); Services.prefs.clearUserPref(INCLUSION_PREF); }); /** Each provider is reachable through the singleton, and the array order is the precedence the UI and the channel filter rely on. 3710 -
test_IPPStartupCache.js Creates and initializes a new IPPStartupCacheSingleton instance. when used with `using` statement, it will be automatically uninitialized, when the test exists 11425 -
test_MatchPatternPrefRule.js 2890 -
test_SiteRuleManager.js Any copyright is dedicated to the Public Domain. https://creativecommons.org/publicdomain/zero/1.0/ 6619 -
xpcshell.toml 960 -