I think this SGTM.
One thing to note: if an API that was previously approved for
other platforms was to be enabled for WebView, we don't require an
I2S (but PSAs are cool, and I'd recommend them). But I don't see
an issue with reviewing the CLs in such cases.
--
You received this message because you are subscribed to the Google Groups "blink-api-owners-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-api-owners-d...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-api-owners-discuss/e9a4b1aa-623f-463c-9c84-3c24d8719e56n%40chromium.org.
One thing to note: if an API that was previously approved for other platforms was to be enabled for WebView, we don't require an I2S (but PSAs are cool, and I'd recommend them). But I don't see an issue with reviewing the CLs in such cases.
--
On 12/4/24 11:12 AM, 'Ashley Newson' via blink-api-owners-discuss wrote:
Hello API owners,
We, the Android WebView team, are working on fixing and re-enabling WebView's webexposed tests. As part of this effort we're trying to improve alignment with the webexposed web_tests in Blink (//third_party/blink/web_tests/[virtual/stable/]webexposed).
Historically, changes to WebView's webexposed expectations have required approval from an //android_webview/ owner. We're looking to change this such that Blink API OWNERs will own the (stable) WebView expectations (with WebView ownership being removed/noparented).
Blink API owners already own and review the corresponding virtual/stable/webexposed/ Blink expectations and are more in tune with web-visible feature development, so they already have the context and may be in a stronger position to compare any discrepancies. It should also improve velocity by not requiring additional reviewers.
Design: go/webview-webexposed-revamp
Do Blink API owners have any comments or questions about this proposed change? Would you require any additional information from the WebView team in order to guide review decisions?--
You received this message because you are subscribed to the Google Groups "blink-api-owners-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-api-owners-d...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-api-owners-discuss/e9a4b1aa-623f-463c-9c84-3c24d8719e56n%40chromium.org.
You received this message because you are subscribed to the Google Groups "blink-api-owners-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-api-owners-d...@chromium.org.
On 12/10/24 11:19 AM, Chris Harrelson wrote:
Sounds good to me too.
On Tue, Dec 10, 2024 at 8:11 AM Mike Taylor <mike...@chromium.org> wrote:One thing to note: if an API that was previously approved for other platforms was to be enabled for WebView, we don't require an I2S (but PSAs are cool, and I'd recommend them). But I don't see an issue with reviewing the CLs in such cases.
Mike, doesn't this contradict what we're discussing on the other blink-api-owners thread about this question?
I don't think so - maybe "(but PSAs are cool, and I'd recommend them)" should have been written as "a PSA should be sent instead, or an update to the original I2S thread).
Either way, someone has to approve the ../webexposed CL, right?
On 12/10/24 11:19 AM, Chris Harrelson wrote:
Sounds good to me too.
On Tue, Dec 10, 2024 at 8:11 AM Mike Taylor <mike...@chromium.org> wrote:One thing to note: if an API that was previously approved for other platforms was to be enabled for WebView, we don't require an I2S (but PSAs are cool, and I'd recommend them). But I don't see an issue with reviewing the CLs in such cases.
Mike, doesn't this contradict what we're discussing on the other blink-api-owners thread about this question?I don't think so - maybe "(but PSAs are cool, and I'd recommend them)" should have been written as "a PSA should be sent instead, or an update to the original I2S thread).
Either way, someone has to approve the ../webexposed CL, right?
I also just reviewed this doc and it SGTM also.IIRC when the topic of WebView API surface area came up years ago, we wanted to reinforce the assumption that new APIs should ship on all platforms including WebView and that gave rise to the "not-webview-exposed.txt" path and require developers to only do extra webview-specific work in the unusual case of APIs which were different on WebView. If I understand correctly, the new system sort of reverses that - there's going to be a little extra work required for developers to acknowledge their new API is expected on WebView in the common case, and no warning or extra work in the rarer case of shipping a new API which is NOT exposed to WebView.
It sounds like there are 3 SGTMs!
I have drafted a PSA to send to blink-dev, included below. If there's no objections or suggestions, I'll send it at some point on Monday (2024-12-16) and enable the tests on CQ shortly after. I'll enable the tests on CQ without requiring owner approvals for a few trial months. (As the existing tests have been outright disabled for a while, this isn't relaxing any existing restrictions.)### BEGIN PSA ###
Subject: PSA: New WebView webexposed tests to run on CQ
TL;DR: If you make web-visible changes, you may need to update Android WebView's webexposed expectations as you do for Blink.
We are re-introducing webexposed tests for Android WebView that align closer to Blink:
- WebView will have both stable and non-stable expectations.
- Expectations will be checked in the commit queue.
- Unstable expectation changes will not require owner approval.
- Starting in 2025Q1, stable expectation changes will require Blink API Owner approval. Before then, whilst we evaluate running the tests in CQ, we will not require owner approval.
If any changes to a WebView expectation file are required, one or both of the following tests will fail and provide you with patches to apply.
- org.chromium.android_webview.test.WebExposedTest#testGlobalInterfaceListingStable
- org.chromium.android_webview.test.WebExposedTest#testGlobalInterfaceListingUnstable
#### END PSA ####
There were a few iterations of the design since were first looped in, Mason. Originally, there were still ideas floating around of not-webview-exposed and only-webview-exposed files (similar to the original implementation), but we eventually decided that these are not an ideal approach. The benefits didn't outweigh the added complexity for WebView owners, Blink owners, or developers needing to update the expectations with their changes.