Open
Bug 2036038
Opened 6 days ago
Updated 6 days ago
Shared workers should persist between navigations
Categories
(Core :: DOM: Workers, defect, P3)
Core
DOM: Workers
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | affected |
People
(Reporter: jakea, Unassigned)
Details
https://random-stuff.jakearchibald.com/shared-worker-navigation/
Press navigate a bunch of times. Note that the number from the worker is the same each time. This is because it's the same worker instance. This is expected behaviour.
Spec: https://html.spec.whatwg.org/multipage/workers.html#between-loads-shared-worker-timeout
However, here's the same demo, but with an unload handler, designed to prevent bfcache: https://random-stuff.jakearchibald.com/shared-worker-navigation/?no-bfcache (make sure you don't have other tabs open to the site)
In this case, the number is different each time, because the worker is being destroyed and recreated.
Updated•6 days ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•