[components] Revert "Closes https://github.com/mozilla-mobile/android-components/issues/8693: Integrate GeckoWebExecutor#FETCH_FLAG_PRIVATE."

This reverts commit 7f97412251cbec11a371fce1652ad7a760184d93.
This commit is contained in:
Jonathan Almeida
2021-01-22 23:53:16 +04:00
committed by mergify[bot]
parent 4ab0b9a488
commit a2c22bd0ec
11 changed files with 37 additions and 106 deletions

View File

@@ -37,10 +37,6 @@ class OkHttpClient(
)
override fun fetch(request: Request): Response {
if (request.private) {
throw IllegalArgumentException("Client doesn't support private request")
}
if (request.isDataUri()) {
return fetchDataUri(request)
}