Matthew Finkel pushed to branch android-components-60.0.5-10.5-1 at The Tor Project / Applications / android-components
Commits: bff7eca5 by Alex Catarineu at 2020-11-06T16:40:13+00:00 fixup! Bug 34439: Isolate Icon loader on Android
Fixes #40025.
- - - - -
1 changed file:
- components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/fetch/GeckoViewFetchClient.kt
Changes:
===================================== components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/fetch/GeckoViewFetchClient.kt ===================================== @@ -80,6 +80,7 @@ private fun Request.toWebRequest(): WebRequest = WebRequest.Builder(url) .addHeadersFrom(this) .addBodyFrom(this) .cacheMode(if (useCaches) CACHE_MODE_DEFAULT else CACHE_MODE_RELOAD) + .origin(origin) .build()
private fun WebRequest.Builder.addHeadersFrom(request: Request): WebRequest.Builder {
View it on GitLab: https://gitlab.torproject.org/tpo/applications/android-components/-/commit/b...