You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Investigate possible BCD improvement for Android WebView #1
(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)
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.
(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)
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.
Activity
dontcallmedom commentedon Feb 22, 2024
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)
RupertBenWiser commentedon Feb 23, 2024
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:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/webexposed/?q=webexposed&ss=chromium
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.
Elchi3 commentedon Feb 23, 2024
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.
npm run traverse -- -b webview_android -f falseOutput
Elchi3 commentedon Feb 23, 2024
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)
Elchi3 commentedon Feb 27, 2024
Updated the list above. Privacy sandbox related APIs aren't supported, see mdn/browser-compat-data#22294.