This is a corner case change that hopefully does not impact developers. Previously calling `showPopover()` or `showModal()` on a popover or dialog that resides within an inactive document would silently fail. I.e. no exception would be thrown, but since the document is inactive, no popover or dialog would be shown. As of the https://github.com/whatwg/html/pull/10705 spec PR, these situations now throw InvalidStateError.
There is a *very* slight compat risk, if developers are counting on these operations (showPopover/showModal in inactive document) not throwing exceptions. But there are no known use cases for that, so the risk should be minimal.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
https://chromium-review.googlesource.com/c/chromium/src/+/5943740
Shipping on desktop | 132 |
DevTrial on desktop | 132 |
Shipping on Android | 132 |
DevTrial on Android | 132 |
Shipping on WebView | 132 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
None--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDgP3vEKfHhwf7WTaKn1LWK0GF3JzCq7yXrn_Axwx9d0aQ%40mail.gmail.com.
What are the current usecounters for `showPopover()` and `showModal()`? Have we looked at current usage to have enough confidence that it's currently being try/catched?
I agree that the "non-active documents" part would be a fraction of the usage you stated, and hence likely very small.Having a Finch kill-switch handy and carefully monitoring the rollout sound like a reasonable approach to me.