This is an edge case but I could see someone run into this in their typical workflow.
Steps to reproduce the issue:
- Create a fresh Orion profile
- Open two windows in that profile
- Open a video, I'm using as an example in the video below
- Pin the tab with the video
- Start the video and switch to another tab, activating the automatic PiP feature of Orion
- Attempt to close one of the browser windows while the PiP is active
- Get the warning prompt Are you sure you want to close this tab?
- Choose
Close
in the prompt - The window is closed, but the PiP video doesn't go anywhere as it is a pinned tab, making the warning unnecessary
Video of the issue:
Expected behavior:
If the video is playing in a pinned tab and there are >1 windows of that profile open, there shouldn't be a warning about the PiP video when closing one of the windows as closing it doesn't cause the video to disappear.
Version 0.99.129-rc (WebKit 621.1.2.111.4)
Sequoia (15)