Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
No information provided| Shipping on desktop | 148 |
| Origin trial desktop first | 139 |
| Origin trial desktop last | 142 |
| Origin trial extension 1 end milestone | 145 |
| Origin trial extension 2 end milestone | 148 |
| Shipping on Android | 148 |
| Shipping on WebView | 148 |
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).
We are currently discussing some details in preparation for specification. The exact nature of how the lifetime extension works with regard to non-window clients, particularly, has only recently reached a tentative conclusion.Contact emailsdom...@chromium.org, yyana...@chromium.org
Explainerhttps://gist.github.com/domenic/c5bd38339f33b49120ae11b3b4af5b9b#file-1-explainer-md
Specificationhttps://github.com/whatwg/html/commit/9c009049e4fa9dba638ef68ca502b781082bbb68
--
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/69cb650f.050a0220.201b21.039e.GAE%40google.com.
Let me share the summary of origin trials as Yoav asked:
Currently, 35 sites, including large and medium-scale origins, participated in the origin trials. Usage metrics can be found at https://chromestatus.com/metrics/feature/timeline/popularity/5550.
Developers expressed strong interest in using this feature to maintain a SharedWorker's lifetime across same-origin navigations within a single tab. While there were requests for seamless migration from non-extended to extended lifetime workers, we identified a potential "footgun" regarding WebLocks where a long-lived worker could hold a lock indefinitely. To ensure safety, we decided to enforce strict separation between the two lifetime modes.
Feedback also showed that the feature effectively handles asynchronous tasks after a page unloads in most scenarios. However, some sites with strict Content Security Policies (CSP) encountered issues when using the feature with blob: URLs.
Notably, extended lifetime shared workers were successfully integrated into the HTML standard during the OT period, with positive signals from other browser vendors. Additionally, as we are working on enabling SharedWorker on Android (as discussed in a separate thread), this feature will also be available on Android following that rollout. To improve observability, chrome://inspect/#workers was updated to indicate whether a SharedWorker is running with the extendedLifetime flag.
Please let me know if you have any questions.