CI / Build & Test (push) Successful in 3m12s
- Treat PAC as active when mode === 'pac_script' (Chrome) or proxyType === 'autoConfig' (Firefox) so we don't mis-detect "not active" in Firefox. - In proxy.settings.onChange, only call applyPAC() when levelOfControl !== 'controlled_by_this_extension'. When we still have control, return without re-applying to stop the set -> onChange -> applyPAC loop.