-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Decide what to do with pre-37 WebView data #4330
Comments
My opinions on these approaches: I'm OK with the first two options, but I'm actively opposed to the third. I would be happy to consider other options.
|
I'm in favor of soft removal. I was about to suggest something similar. My idea had been to take advantage of the ability of |
I think soft removal is the simplest method while satisfying all the issues we face. Originally I was leaning towards hard removal (I never liked the idea of separating the two browsers, I just recall it was mentioned in this repo at some point), but like you're saying, hard removal acts as if those browser versions never existed. So, my vote's on soft removal! |
@Elchi3 I'd like your take on this, when you're back |
The soft removal would be doable with #3881. |
Thanks for this issue, great stuff! I also think soft removal makes most sense. I think @ExE-Boss is right that if we go down the soft removal road, it's similar to what we've discussed in #3021. Exe-Boss has proposed |
@Elchi3 and I had a chat about this today. I'm going to try to recap our discussion here. Florian is right that the pre-37 proposal here is one specific case of the principle of #3021-style feature ranges. I expressed some discomfort with introducing feature ranges across all of BCD; it would require us to come up with a broad range of new standards about version data (e.g., when is a feature range good enough to merge versus demanding a specific version). Florian suggested a good compromise: restricting the use of feature ranges to certain browsers and versions. He and I agreed that WebView could be a good test case for this (similarly, early Safari versions might also represent good cases to try this with). With that in mind, I suggest that Florian and I take a look at #3881 and see if that could be used to solve this problem (assuming @ExE-Boss is amenable). If we were to use the @Elchi3 if I've misrepresented anything here, please correct the record. 😄 |
Florian's compromise also makes sense to me. Because I don't know how the |
This also sounds fine to me, and follows the train of thought I was on for this. To do this across all of BCD would be difficult, time consuming and unnecessary. We should only do it for specific browser ranges where we really need it. |
This sounds all very good to me, @ddbeck! Thanks for capturing our discussion. I think I will close #3881 and #3021 as we should decide what to do per browser and not allow ranges everywhere throughout the data. So, this issue is now specifically about One general question remains, though:
And then, for
|
I would say don't hoist.
I agree.
I agree. |
Seems like we're decided. Filed #4479 to get this work done in the next sprint. |
Pre-37 WebView questions have come up in several places. I'm trying to narrow the scope and corral the discussion a little with this issue.
The Problem
It's @jpmedley's (and maybe Google's?) position that pre-37 WebView version data is unacceptable in the absence of someone testing features on Android device of the specified version (read #4306 (comment)). If pre-37 versions cannot replace
true
ornull
values, then large swaths of features can never have real data.Background
Our data contains a mix of Android version numbers and Chromium-style version numbers. Before Android 5, Android included WebView as part of the operating system. From Android 5, WebView split into a package shipped and updated independently of the operating system, at which point WebView took on Chromium's versioning. The progression appears to have been:
Proposals
Some ideas for how this might be resolved. There may be others I've missed.
Hard removal of pre-37 values
As proposed by @jpmedley on #3561. Drop pre-37 WebView entirely. Any WebView values less less than 37 would be hoisted to 37. In other words, we'd act as if WebView only ever had prereleases before 37.
Soft removal of pre-37 values
I'm inventing this idea here. Replace versions before 37 with some kind of catch-all value (e.g.,
"37 or earlier"
or"pre37"
, depending on how strongly we want to assert features predating 37). This acknowledges WebView's existence before 37, but doesn't actually try to capture the specific versions.Separate Android-versioned WebView from Chromium-versioned WebView
As proposed by @vinyldarkscratch in #4306 (comment). Bifurcate WebView into a browser for WebView before version 37 (excluding 37 itself) and another for WebView 37 and later.
The text was updated successfully, but these errors were encountered: