Closed Bug 1462580 Opened 7 years ago Closed 7 years ago

Don't exit fullscreen when creating new not active tab

Categories

(Firefox :: Tabbed Browser, defect, P3)

60 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 62
Tracking Status
firefox62 --- verified

People

(Reporter: juraj.masiar, Assigned: dao)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180514150347 Steps to reproduce: 1) open debugging console of any add-on with `tabs` permission 2) execute this code: `setTimeout(() => browser.tabs.create({url: 'https://developer.mozilla.org/', active: false}), 9000);` 3) open any YouTube video on fullscreen (you have 9 seconds) Actual results: After 9 seconds the fullscreen will exit - even when active tab has not changed. Expected results: Fullscreen should stay active when non-active tab has been created. Why is this important? My add-on is using tab-hiding feature to make some work "in background". However creating new tab and hiding it will trigger fullscreen exit.
Assignee: nobody → dao+bmo
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Blocks: 685402
Comment on attachment 8979855 [details] Bug 1462580 - Don't exit DOM fullscreen mode when opening or closing background tabs. https://reviewboard.mozilla.org/r/246036/#review252240
Attachment #8979855 - Flags: review?(jaws) → review+
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/30dbf7c51250 Don't exit DOM fullscreen mode when opening or closing background tabs. r=jaws
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
Flags: qe-verify+
(In reply to juraj.masiar from comment #0) > 1) open debugging console of any add-on with `tabs` permission Could you post an example of such an addon? Thank you
Flags: needinfo?(juraj.masiar)
Flags: needinfo?(juraj.masiar)
Thank you for the link. Managed to reproduce the issue, following the steps in comment 0, and with the addon posted above on Firefox 62.0a1 (build 20180510220127) Have checked with 62.0b7 on macOS 10.13.4, Win 10x64, Ubuntu 16.04LTS and can confirm the issue has been fixed.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: