mdn / browser-compat-data

This repository contains compatibility data for Web technologies as displayed on MDN
https://developer.mozilla.org
Creative Commons Zero v1.0 Universal
4.95k stars 1.98k forks source link

Some features is not supported in webview #24690

Open skyclouds2001 opened 6 days ago

skyclouds2001 commented 6 days ago

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

viewing https://source.chromium.org/chromium/chromium/src/+/main:android_webview/tools/system_webview_shell/test/data/webexposed/not-webview-exposed.txt, I notice some feature should not be marked as supported in webview, but it is incorrectly marked as yes

as a simple check, most data are incorrectly marked

full list for related API:

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79+, Opera, Samsung Internet)

What did you expect to see?

mark those features as not-supported

Did you test this? If so, how?

no, simply check using chromium source code

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

https://github.com/chromium/chromium/blob/main/android_webview/tools/system_webview_shell/test/data/webexposed/not-webview-exposed.txt https://github.com/chromium/chromium/blob/main/third_party/blink/renderer/platform/runtime_enabled_features.json5

Do you have anything more you want to share?

No response

MDN URL

No response

MDN metadata

No response

SamB commented 4 days ago

What information was incorrect, unhelpful, or incomplete?

viewing https://source.chromium.org/chromium/chromium/src/+/main:android_webview/tools/system_webview_shell/test/data/webexposed/not-webview-exposed.txt, I notice some feature should not be marked as supported in webview, but it is incorrectly marked as yes

HMM, looks quite machine-friendly: I wonder if it would be practical to extract the information mechanically from the git history?

queengooborg commented 3 days ago

The file from Chrome's you mentioned had been taken into consideration years ago when most updates to BCD were still performed manually. Now, almost all data is collected by https://mdn-bcd-collector.gooborg.com automatically.

If BCD reports that something in WebView is supported but it's in that file, it's either because:

Do you have access to WebView on Android? If so, could you test which features are actually unsupported?

skyclouds2001 commented 3 days ago

The file from Chrome's you mentioned had been taken into consideration years ago when most updates to BCD were still performed manually. Now, almost all data is collected by https://mdn-bcd-collector.gooborg.com automatically.

Yes, as I later made some check, most old APIs seems to be correct, but some newly added API (like Shared Storage API, Fenced Frames API, which seems to be added mantually) seems to be wrong.

(Previously I only checked some items at the end of the file content)