--
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 on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/34528104-dca4-4a21-b376-013bd393dfc1n%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK7rkMjH%2BV42hygYZTH6f9CBj4nfkk4W4rQuaXY84d-r%2BX%3DOmg%40mail.gmail.com.
Compelling use cases (e.g. actual & reasonably popular products that work better or only work when sharedworker are available on mobile) would help boost the priority over other interop requests.
On Thu, Oct 19, 2023 at 5:20 AM Kenji Baheux <kenji...@chromium.org> wrote:Compelling use cases (e.g. actual & reasonably popular products that work better or only work when sharedworker are available on mobile) would help boost the priority over other interop requests.There were enough use cases for Apple to reintroduce shared worker after removing it. Classic one is any kind of site where a user may plausibly have multiple tabs open and need them to remain in sync with the server. You treat the SharedWorker as the source of truth in terms of talking to the server, data updates, etc. So email clients, shared document editors, etc fit this bill.
Yes, you can accomplish the same thing more awkwardly other ways with leader-election algorithms using BroadcastChannel or force ServiceWorker into a SharedWorker model by forcing it to stay alive. But forcing sub-optimal solutions is a tax on the web ecosystem for these use cases and pushes people to build native apps for mobile instead of the web.I'll also just say I find the framing of "mobile web" as a separate platform from the web in general or desktop web somewhat surprising and disappointing. We should not be bifurcating the web ecosystem without a good reason.
What is the reason SharedWorker should be desktop-only when every other browser is able to ship it on mobile?
Things are a bit different these days. That said, there are other interop requests that compete for the team's bandwidth, beside their main projects. The other requests have clearer signals of impact at the moment.What is the reason SharedWorker should be desktop-only when every other browser is able to ship it on mobile?To be clear, no one said that SharedWorker should be desktop-only.This is not an if, it's a when.