Closed
Bug 1735875
Opened 3 years ago
Closed 2 years ago
ServiceWorker-controlled pages losing their controller after going into and coming out of BFCache due to dropped ClientHandle actors on freeze
Categories
(Core :: DOM: Service Workers, defect, P3)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
103 Branch
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: asuth, Assigned: smaug)
References
Details
Attachments
(1 file)
In https://github.com/w3c/ServiceWorker/issues/1594#issuecomment-942933128 it was identified that "on Firefox, after a page is restored from BFCache, the page seems uncontrolled by service workers (even if it was controlled before BFCached). Is this a known issue". This is from tests being developed as part of https://github.com/web-platform-tests/wpt/pull/31082.
Assignee | ||
Comment 1•3 years ago
•
|
||
the tests pass if I comment out https://searchfox.org/mozilla-central/rev/0ec81de2037cb0a0701d5d316f42763230b3a142/dom/clients/manager/ClientSourceParent.cpp#124-126
We're missing to recreate the handles somewhere or should not delete them at all (only mark frozen)?
Reporter | ||
Updated•3 years ago
|
Summary: ServiceWorker-controlled pages losing their controller after going into and coming out of BFCache → ServiceWorker-controlled pages losing their controller after going into and coming out of BFCache due to dropped ClientHandle actors on freeze
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Attachment #9280000 -
Attachment description: WIP: Bug 1735875, WIP, with random debugging stuff, eviction in case of client.postMessage is still missing (there are no wpt for that either) → WIP: Bug 1735875, ServiceWorkers + bfcache: evict bfcache in certain cases, to pass the existing WPTs, and add a new test for Client.postMessage
Updated•2 years ago
|
Attachment #9280000 -
Attachment description: WIP: Bug 1735875, ServiceWorkers + bfcache: evict bfcache in certain cases, to pass the existing WPTs, and add a new test for Client.postMessage → Bug 1735875, ServiceWorkers + bfcache: evict bfcache in certain cases, to pass the existing WPTs, and add a new test for Client.postMessage
Updated•2 years ago
|
Assignee: nobody → bugs
Status: NEW → ASSIGNED
Updated•2 years ago
|
Attachment #9280000 -
Attachment description: Bug 1735875, ServiceWorkers + bfcache: evict bfcache in certain cases, to pass the existing WPTs, and add a new test for Client.postMessage → Bug 1735875, ServiceWorkers + bfcache: evict bfcache in certain cases, to pass the existing WPTs, and add a new test for Client.postMessage, r=asuth
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/249823eb1a68
ServiceWorkers + bfcache: evict bfcache in certain cases, to pass the existing WPTs, and add a new test for Client.postMessage, r=asuth
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/34446 for changes under testing/web-platform/tests
Comment 5•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox103:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
Upstream PR was closed without merging
You need to log in
before you can comment on or make changes to this bug.
Description
•