Status Update
Comments
pb...@google.com <pb...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Peter Birk Pakkenberg <
Link:
Create API to delete all browsing data
Expand for full commit details
Create API to delete all browsing data
This CL introduces a new wrapper for WebStorage that exposes a new set
of methods to delete browsing data. Unlike the methods in
android.webkit.WebStorage, these methods will delete all storage in
WebView, including cookies and HTTP cache.
Test: ./webkit/run_instrumentation_tests.sh
Bug: 382273208
Change-Id: I4b2739faf45f07e1a15ebdb86047f1c44e08dcaf
Files:
- A
webkit/integration-tests/instrumentation/src/androidTest/java/androidx/webkit/WebStorageTest.java
- A
webkit/webkit/src/main/java/androidx/webkit/WebStorageCompat.java
- M
webkit/webkit/src/main/java/androidx/webkit/WebViewFeature.java
- A
webkit/webkit/src/main/java/androidx/webkit/internal/WebStorageAdapter.java
- M
webkit/webkit/src/main/java/androidx/webkit/internal/WebViewFeatureInternal.java
- M
webkit/webkit/src/main/java/androidx/webkit/internal/WebkitToCompatConverter.java
Hash: 20b8a804febe6f1f670715361b0f515803b79218
Date: Wed Dec 04 18:13:42 2024
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
Author: Peter Birk Pakkenberg <
Link:
Create demo activity for WebStorageCompat
Expand for full commit details
Create demo activity for WebStorageCompat
This CL adds okhttp MockWebServer as a dependency to the testapp for
webkit in order to host a local server where we can control responses.
Bug: 382273208
Test: Added instrumentation test to assert that a page is loaded
Change-Id: Ic790b33fd1df938dad69bca1742318f4ac61da8b
Files:
- M
webkit/integration-tests/testapp/build.gradle
- A
webkit/integration-tests/testapp/src/androidTest/java/com/example/androidx/webkit/WebStorageCompatActivityTestAppTest.java
- M
webkit/integration-tests/testapp/src/main/AndroidManifest.xml
- M
webkit/integration-tests/testapp/src/main/java/com/example/androidx/webkit/MainActivity.java
- A
webkit/integration-tests/testapp/src/main/java/com/example/androidx/webkit/WebStorageCompatActivity.java
- A
webkit/integration-tests/testapp/src/main/res/layout/activity_web_storage.xml
- A
webkit/integration-tests/testapp/src/main/res/raw/web_storage_html_template.html
- M
webkit/integration-tests/testapp/src/main/res/values/donottranslate-strings.xml
Hash: 2e5591c9f46d7f142b5b1559d907090bdd25a9ea
Date: Thu Dec 05 13:02:54 2024
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
Author: Peter Birk Pakkenberg <
Link:
Unhide data deletion API for release.
Expand for full commit details
Unhide data deletion API for release.
Minor formatting changes in javadoc for WebViewFeature is included after
auto-formatting of the file.
Fixes: 382273208
Test: N/A - Unhide only
RelNote: """Introducing a set of new APIs to delete browsing data stored
by WebView. The new APIs in `WebStorageCompat` should be preferred
over the existing APIs in `android.webkit.WebStorage`, as they will
guarantee deletion of all local storage, including the network cache
and cookies, as well as any installed service workers. If new
storage APIs are introduced in the future, then these new methods
will be updated to include them in the storage deleted."""
Change-Id: Iad54f46e2fbb2a7369f2b7191519af0b10525ed7
Files:
- M
webkit/webkit/api/current.txt
- M
webkit/webkit/api/restricted_current.txt
- M
webkit/webkit/src/main/java/androidx/webkit/WebStorageCompat.java
- M
webkit/webkit/src/main/java/androidx/webkit/WebViewFeature.java
Hash: 6a281a73c5afa147ec7d354db5f433d03cbac7bc
Date: Tue Dec 17 15:45:43 2024
pr...@google.com <pr...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.webkit:webkit:1.13.0-alpha03
Description
AndroidX tracking bug forhttps://crbug.com/373558938
This API will allow app developers to delete all browsing data for a given WebView profile, or delete all data for a specific site