Open
Bug 2009192
Opened 8 months ago
Updated 6 months ago
Document PiP is closed when moving opener between windows
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: vhilla, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
|
124 bytes,
text/html
|
Details |
STR
- Open test case, click the button
- Move the tab with the test case to another window
Expected
- The PiP window stays open
Actual
- The PiP window is closed
I think this is not severe (doesn't need to block landing), but it works in Chrome and could be slightly annoying to users.
| Reporter | ||
Updated•8 months ago
|
Attachment #9536416 -
Attachment mime type: text/plain → text/html
| Reporter | ||
Comment 1•8 months ago
|
||
Attachment #9536416 -
Attachment is obsolete: true
Severity: -- → S3
| Reporter | ||
Comment 2•7 months ago
|
||
Bug 2008334 will need to test that adopting the PiP opener doesn't mess with window activity. So I've also looked a bit at why tab adoption closes the PiP.
https://pernos.co/debug/uNWDbgoPE09LFMzlKOiu9g/index.html
We call Document::CloseAnyAssociatedDocumentPiPWindows due to a page hide from nsContentUtils::FirePageHideEventForFrameLoaderSwap, which is called from BrowserChild::RecvSwappedWithOtherRemoteLoader. But I don't know enough about frame loader swap in Gecko. Maybe we can special-case this pagehide or should call CloseAnyAssociatedDocumentPiPWindows from somewhere else.
Updated•6 months ago
|
Blocks: doc-pip-api
You need to log in
before you can comment on or make changes to this bug.
Description
•