Commit d0d41f9
!deprecation/security: remove setAcceptFileSchemeCookies
**Breaking change (security)**. Cards can no longer set or read
`document.cookie` from file:// origins.
I chose `CookieManager.getInstance()` to reduce code churn.
`getWebViewPackage` is an alternative.
**Deprecation: API 30**
This setting is not secure, please use
androidx.webkit.WebViewAssetLoader instead.
Assisted-by: Claude Opus 4.6 - research
Fixes 19863
----
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/android_webview/browser/cookie_manager.cc#867
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/android_webview/glue/java/src/com/android/webview/chromium/CookieManagerAdapter.java1 parent e6ff458 commit d0d41f9
1 file changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
| 193 | + | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
336 | 338 | | |
337 | | - | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
344 | | - | |
345 | | - | |
| 346 | + | |
| 347 | + | |
346 | 348 | | |
347 | 349 | | |
348 | 350 | | |
| |||
0 commit comments