Closed Bug 1476364 Opened Last year Closed 10 months ago
GV API to get cookies for specific (download) URL
Focus issue: https://github.com/mozilla-mobile/focus-android/issues/2910 Focus passes downloads to Android's download manager. The download manager accepts an optional cookie parameter for downloads that may require the cookies. In the WebView version we can just ask the CookieManager: > CookieManager.getInstance().getCookie(download.getUrl()); In GeckoView we could: * Either add a similar API (CookieManager...getCookie(url)) * Add the cookie for the download to the ContentDelegate.onExternalResponse() callback * Let the app store cookies on its own via some other mechanism and then the app can do the lookup. * Other options?
The Focus team prioritized their download manager cookie problem to P3, so this GV bug can also be P3 and doesn't need to block Focus 7.0. https://github.com/mozilla-mobile/focus-android/issues/2910
You need to log in before you can comment on or make changes to this bug.