[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/android-components][android-components-60.0.5-10.0-1] Revert "Merge remote-tracking branch 'acatgl/34439' into android-components-60.0.5-10.0-1"



Title: GitLab

Matthew Finkel pushed to branch android-components-60.0.5-10.0-1 at The Tor Project / Applications / android-components

Commits:

3 changed files:

Changes:

  • components/browser/engine-gecko-beta/src/main/java/mozilla/components/browser/engine/gecko/fetch/GeckoViewFetchClient.kt
    ... ... @@ -80,7 +80,6 @@ private fun Request.toWebRequest(): WebRequest = WebRequest.Builder(url)
    80 80
         .addHeadersFrom(this)
    
    81 81
         .addBodyFrom(this)
    
    82 82
         .cacheMode(if (useCaches) CACHE_MODE_DEFAULT else CACHE_MODE_RELOAD)
    
    83
    -    .origin(origin)
    
    84 83
         .build()
    
    85 84
     
    
    86 85
     private fun WebRequest.Builder.addHeadersFrom(request: Request): WebRequest.Builder {
    

  • components/browser/icons/src/main/java/mozilla/components/browser/icons/loader/HttpIconLoader.kt
    ... ... @@ -51,8 +51,7 @@ class HttpIconLoader(
    51 51
                 connectTimeout = Pair(CONNECT_TIMEOUT, TimeUnit.SECONDS),
    
    52 52
                 readTimeout = Pair(READ_TIMEOUT, TimeUnit.SECONDS),
    
    53 53
                 redirect = Request.Redirect.FOLLOW,
    
    54
    -            useCaches = true,
    
    55
    -            origin = request.url)
    
    54
    +            useCaches = true)
    
    56 55
     
    
    57 56
             return try {
    
    58 57
                 val response = httpClient.fetch(downloadRequest)
    

  • components/concept/fetch/src/main/java/mozilla/components/concept/fetch/Request.kt
    ... ... @@ -46,8 +46,7 @@ data class Request(
    46 46
         val body: Body? = null,
    
    47 47
         val redirect: Redirect = Redirect.FOLLOW,
    
    48 48
         val cookiePolicy: CookiePolicy = CookiePolicy.INCLUDE,
    
    49
    -    val useCaches: Boolean = true,
    
    50
    -    val origin: String? = null
    
    49
    +    val useCaches: Boolean = true
    
    51 50
     ) {
    
    52 51
         /**
    
    53 52
          * A [Body] to be send with the [Request].
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits