Status Update
Comments
ap...@google.com <ap...@google.com> #2
ap...@google.com <ap...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
ap...@google.com <ap...@google.com> #4
Project: chromium/src
Branch: main
Author: Chidera Olibie <
Link:
[Webview] Introduce traffic tagging
Expand for full commit details
[Webview] Introduce traffic tagging
This feature allows apps to attribute traffic in a socket to a
specified tag. This means embedding apps can determine the
traffic from Webview in their app using the android
TrafficStats APIs.
Bug: 374932688
Change-Id: I9b333c1d0f935387d40a9de7215e121a08508419
Validate-Test-Flakiness: skip
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5948485
Commit-Queue: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
Reviewed-by: Richard (Torne) Coles <torne@chromium.org>
Auto-Submit: Chidera Olibie <colibie@google.com>
Reviewed-by: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1379787}
Files:
- M
android_webview/browser/BUILD.gn
- M
android_webview/browser/aw_contents_statics.cc
- A
android_webview/browser/aw_contents_statics.h
- M
android_webview/browser/network_service/aw_proxying_url_loader_factory.cc
- M
android_webview/glue/java/src/com/android/webview/chromium/SharedStatics.java
- M
android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java
- A
android_webview/javatests/src/org/chromium/android_webview/test/TrafficStatsTest.java
- A
android_webview/javatests/src/org/chromium/android_webview/test/util/TrafficStatsTestUtil.java
- M
android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/StaticsBoundaryInterface.java
- M
android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/util/Features.java
- M
android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewChromiumFactory.java
- M
android_webview/test/BUILD.gn
- A
android_webview/test/browser/trafficstats_test_util.cc
- M
tools/metrics/histograms/metadata/android/enums.xml
Hash: b517ac6a68c189736759267ed0df3b7d32a5643f
Date: Thu Nov 07 17:48:16 2024
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
Author: Chidera Olibie <
Link:
[Webview] Add traffic tagging API
Expand for full commit details
[Webview] Add traffic tagging API
This feature allows apps to attribute traffic in a socket to a
specified tag. This means embedding apps can determine the
traffic from Webview in their app using the android
TrafficStats APIs.
Bug: 374932688
Test: webkit/run_instrumentation_tests.sh
Change-Id: Ifdb259e6778269a2197377bb598c93238302ab55
Files:
- M
webkit/integration-tests/instrumentation/src/androidTest/java/androidx/webkit/WebViewCompatTest.java
- M
webkit/webkit/src/main/java/androidx/webkit/WebViewCompat.java
- M
webkit/webkit/src/main/java/androidx/webkit/WebViewFeature.java
- M
webkit/webkit/src/main/java/androidx/webkit/internal/WebViewFeatureInternal.java
Hash: e8f24349d9bc66ace7ebb16afd263a65afa592ab
Date: Mon Oct 28 15:02:19 2024
ap...@google.com <ap...@google.com> #6
Project: platform/frameworks/support
Branch: androidx-main
Author: Chidera Olibie <
Link:
[WebView] Add testapp activity for traffic stats
Expand for full commit details
[WebView] Add testapp activity for traffic stats
Bug: 374932688
Test: ./gradlew :webkit:integration-tests:testapp:installDebug # Default TrafficStats Tagging
Change-Id: If3a7ab07a14d41822da3ebd170194caa84704d78
Files:
- M
webkit/integration-tests/testapp/src/main/AndroidManifest.xml
- A
webkit/integration-tests/testapp/src/main/java/com/example/androidx/webkit/DefaultTrafficStatsTaggingActivity.java
- M
webkit/integration-tests/testapp/src/main/java/com/example/androidx/webkit/MainActivity.java
- A
webkit/integration-tests/testapp/src/main/res/layout/activity_default_traffic_tagging.xml
- M
webkit/integration-tests/testapp/src/main/res/values/donottranslate-strings.xml
Hash: e9708420e10b98ad0e6a4d3e0da711f346eeeaf5
Date: Wed Oct 30 14:19:43 2024
ap...@google.com <ap...@google.com> #7
Project: chromium/src
Branch: main
Author: Chidera Olibie <
Link:
[WV] Remove trafficstats tagging feature dev suffix
Expand for full commit details
[WV] Remove trafficstats tagging feature dev suffix
Removing the dev suffix means it can be used on
on non-userdebug devices, hencing allow for API call in prod.
Bug: 374932688
Change-Id: I2212a74fe45d2deb3f41a124d7ea8a494b38b730
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6054142
Reviewed-by: Peter Pakkenberg <pbirk@chromium.org>
Auto-Submit: Chidera Olibie <colibie@google.com>
Commit-Queue: Chidera Olibie <colibie@google.com>
Cr-Commit-Position: refs/heads/main@{#1390267}
Files:
- M
android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewChromiumFactory.java
Hash: d6708403ffada309de73c494318b00428ea6304d
Date: Mon Dec 02 12:14:16 2024
ap...@google.com <ap...@google.com> #8
Project: platform/frameworks/support
Branch: androidx-main
Author: Chidera Olibie <
Link:
[WebView] Unhide traffic stats tag API
Expand for full commit details
[WebView] Unhide traffic stats tag API
Bug: 374932688
Test: webkit/run_instrumentation_tests.sh
Relnote: "Add socket tagging API to WebView for accounting of WebView's
network traffic using NetworkStatsManager/TrafficStats. This feature
will only be available from WebView M133."
Change-Id: Ica4412c9432ff479ea728c30c09b1d7bf359d0f0
Files:
- M
webkit/webkit/api/current.txt
- M
webkit/webkit/api/restricted_current.txt
- M
webkit/webkit/src/main/java/androidx/webkit/WebViewCompat.java
- M
webkit/webkit/src/main/java/androidx/webkit/WebViewFeature.java
- M
webkit/webkit/src/main/java/androidx/webkit/internal/WebViewFeatureInternal.java
Hash: f64de1aa3a6f7a387508c73727476b7e17b48014
Date: Thu Nov 21 18:28:35 2024
co...@google.com <co...@google.com>
pr...@google.com <pr...@google.com> #9
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.webkit:webkit:1.13.0-alpha02
Description
What's your ask from the WebView team (implement an existing WP API, add a new developer API functionality, add a new JS API functionality, change the UX behaviour of a WebView):
Implement a new developer API to allow calling apps to tag the traffic and attribute it to other apps with TrafficStats. If it is easier, at least in the short term, it would be ok to just tag all of WebView traffic with one tag, value of which needs to be carefully chosen, and probably baked in the platform. In the long term I anticipate that we will still need to have the proper APIs.