-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate possible BCD improvement for Android WebView #1
Comments
there is also the other way around (not specific to Android): seeing what would be need to make the automated tool used to detect support for features work for WebViews (both are probably useful independently since feature detection may not always be accurate on WebViews either - it may be particularly useful to document these situations in BCD) |
At least speaking for Chromium, there is apparently this cool tool that starts a shell and can detect what web APIs are exposed at runtime: We will need a bit more investigation / support from someone who understands this better - but perhaps something in that space would be more generic and applicable to WebViews as a whole? Similar to WPTs but it just relies on detecting the feature availability rather than its compliance. |
I've been looking for hints at https://source.chromium.org/chromium/chromium/src/+/main:android_webview/tools/system_webview_shell/test/data/webexposed/not-webview-exposed.txt;bpv=0;bpt=0
Yes! I'd be very happy to investigate what we would need in the Open Web Docs BCD collector to collect correct support data for Android WebView. Currently, if you checkout mdn/browser-compat-data and run the following command you get 874 features not supported in WebView Android.
Output
|
Also, we have a few open PRs that are in need of review (for me or anyone who likes) https://github.com/mdn/browser-compat-data/pulls?q=is%3Apr+is%3Aopen+webview (issues too: https://github.com/mdn/browser-compat-data/issues?q=is%3Aissue+is%3Aopen+webview) |
Updated the list above. Privacy sandbox related APIs aren't supported, see mdn/browser-compat-data#22294. |
Android WebView disables a number of features at run time because it shares a build target with the Android target of Chromium:
https://source.chromium.org/chromium/chromium/src/+/main:android_webview/browser/aw_field_trials.cc
We should investigate if we can improve this detection mechanism.
The text was updated successfully, but these errors were encountered: