What happens
When the streamed page closes its own tab (for example via window.close()) or the tab crashes, the live view keeps showing the closed tab's last image and the tab bar still lists the closed tab. The view only recovers after another tab is opened or a tab command runs. Closing a tab through the CLI or the dashboard's close button works correctly.
Steps to reproduce
- Start the dashboard and open a session with two tabs.
- In the active tab, run window.close() (or let a page close its own tab).
- The live view freezes on the closed tab's last frame and the tab bar still shows both tabs.
- Open a new tab. The view and tab bar jump back to reality.
Expected
A tab that closes by itself disappears from the tab bar right away and the live view switches to a remaining tab.
Tested on Linux with the Chrome engine, current main (0.33.0).
What happens
When the streamed page closes its own tab (for example via window.close()) or the tab crashes, the live view keeps showing the closed tab's last image and the tab bar still lists the closed tab. The view only recovers after another tab is opened or a tab command runs. Closing a tab through the CLI or the dashboard's close button works correctly.
Steps to reproduce
Expected
A tab that closes by itself disappears from the tab bar right away and the live view switches to a remaining tab.
Tested on Linux with the Chrome engine, current main (0.33.0).