- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 09 May 2025 00:20:56 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3ctag/design-reviews/issues/1089@github.com>
domenic created an issue (w3ctag/design-reviews#1089)
こんにちは TAG-さん!
I'm requesting an early TAG design review of extended lifetime shared workers.
We propose adding a new option to the `SharedWorker` constructor that serves as a request to extend its lifetime after all current clients have unloaded:
```js
const sharedWorker = new SharedWorker(url, { extendedLifetime: true });
```
The primary use case here is to allow pages to perform some async work that requires JavaScript after a page unloads, without needing to rely on a service worker.
- Explainer: https://gist.github.com/domenic/c5bd38339f33b49120ae11b3b4af5b9b#file-1-explainer-md
- User research: None
- Security and Privacy self-review: https://gist.github.com/domenic/c5bd38339f33b49120ae11b3b4af5b9b#file-2-spq-md
- GitHub repo: https://github.com/whatwg/html
- Primary contacts:
- Domenic Denicola (@domenic), Google, specification writer
- Yoshisato Yanagisawa (@yoshisatoyanagisawa), Google, Chromium implementer
- Organization/project driving the design: Chromium
- This work is being funded by: Google
- Incubation and standards groups that have discussed the design:
- https://github.com/whatwg/html/issues/10997
- Standards group(s) that you expect to discuss and/or adopt this work when it's
ready: WHATWG HTML Workstream
- Multi-stakeholder feedback:
- Chromium comments: https://issues.chromium.org/issues/400473072
- Mozilla comments: Standards positions to be filed. Some feedback from smaug---- and asutherland in https://github.com/whatwg/html/issues/10997.
- WebKit comments: Standards positions to be filed. Some feedback from annevk in https://github.com/whatwg/html/issues/10997.
- Major unresolved issues with or opposition to this design: none
- [x] I have reviewed the TAG's [Web Platform Design Principles](https://www.w3.org/TR/design-principles/)
--
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1089
You are receiving this because you are subscribed to this thread.
Message ID: <w3ctag/design-reviews/issues/1089@github.com>
Received on Friday, 9 May 2025 07:21:00 UTC