Open Bug 1418489 Opened 7 years ago Updated 2 years ago

observing a window is gone via Clients API should evict it from bfcache

Categories

(Core :: DOM: Service Workers, enhancement, P2)

57 Branch
enhancement

Tracking

()

People

(Reporter: bkelly, Unassigned)

References

(Blocks 1 open bug)

Details

The Clients API allows service workers to observe the existence of other windows. This API can also be used to infer when windows have been closed. If the window is in bfcache we should not resurrect the window again if script has observed it is gone. Therefore we should evict windows from bfcache if Clients API would have operated on it while its frozen. I had originally planned to do this as part of bug 1293277, but since we don't currently do this now I think it can wait to a follow-up bug. Its also a bit of a corner case and unlikely to have serious interop issues in the short term.
Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.