Name Description Size
test_condition_evaluator.js Unit tests for ConditionEvaluator.sys.mjs Note: ConditionEvaluator is an internal module used by PolicyEvaluator. These tests verify it through SecurityOrchestrator (the public API) rather than testing internal implementation details. Focus: Testing condition evaluation behavior through policy execution 8607
test_decision_types.js Unit tests for DecisionTypes.sys.mjs Tests the core type definitions and helpers for the security layer: - SecurityPolicyError class (constructor, toJSON, throw/catch) - Decision helper functions (allow, deny) - correct structure - Type guards (isAllow, isDeny) - control flow correctness - Constants (DenialCodes, ReasonPhrases) - expected values 11467
test_json_policy_system.js Integration tests for JSON Policy System Focus: End-to-end flows with real JSON policies - Real policy loading from tool-execution-policies.json - Critical allow/deny flows - Integration with SecurityOrchestrator - @Mentions support 13776
test_ml_engine_security.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1244
test_policy_evaluator.js Unit tests for PolicyEvaluator.sys.mjs Note: PolicyEvaluator is used internally by SecurityOrchestrator. These tests verify policy evaluation behavior through the public API rather than testing internal implementation details. Focus: Policy matching, deny/allow effects, multiple conditions 9789
test_security_logger.js Unit tests for SecurityLogger.sys.mjs Tests verify that logging operations complete without error. The logger outputs to Browser Console for developer debugging. 3573
test_security_orchestrator.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 10337
test_security_utils.js Unit tests for SecurityUtils.sys.mjs Tests URL normalization, eTLD validation, and ledger management: - normalizeUrl() - URL validation and normalization - areSameSite() - eTLD+1 validation - TabLedger - per-tab URL storage with TTL - SessionLedger - multi-tab ledger management Focus: Critical paths and edge cases that affect security 16710
xpcshell.toml 370