-
fix: stop anti-capture from refetching every resource
发布于
2026-07-05 10:10:24 +00:00 The anti-capture toggle was incorrectly coupled to refetchAndObfuscate,
reissuing every HTTP/HTTPS resource through HttpURLConnection. This
bypassed WebView's HTTP/2 multiplexing, connection pool, and cache,
making pages extremely slow when the toggle was on — while the actual
obfuscation step (ContentObfuscator.obfuscate) is a no-op, so the
refetch bought nothing.Anti-capture now relies solely on its intended three layers:
trustUserCa=false at packaging, ProxyConfig direct:// override in
SystemWebView, and network.proxy.type=0 plus disabled enterprise_roots
in GeckoView. The 3xx IllegalArgumentException from refetchAndObfuscate
also stops surfacing because that path is no longer triggered.Synced to shell via syncShellRuntimeSources.
下载附件