You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[@web/dev-server-core] Listening for the unload event throws an error in Chrome #3150
That's unfortunate, I was hoping to solve it in a simple way, but with this it means we need to handle BFCache.
Resumable WebSocket connection was the issue last time and we'll need to look into how to close it on BFCache event, that's technically possible.
The problem is then that BFCache can also persist other things, so for each finding we might need another fix and another fix. I wanted to disable BFCache completely, but there seems to be no nice way of doing so.
@bashmish the Chrome developers have been very responsive in this group, so if you describe your scenario to them there they may have some suggestions.
Activity
bashmish commentedon Aug 12, 2026
That's unfortunate, I was hoping to solve it in a simple way, but with this it means we need to handle BFCache.
Resumable WebSocket connection was the issue last time and we'll need to look into how to close it on BFCache event, that's technically possible.
The problem is then that BFCache can also persist other things, so for each finding we might need another fix and another fix. I wanted to disable BFCache completely, but there seems to be no nice way of doing so.
dlockhart commentedon Aug 12, 2026
@bashmish the Chrome developers have been very responsive in this group, so if you describe your scenario to them there they may have some suggestions.