Open Bug 1438359 Opened 7 years ago Updated 2 years ago

Show notification/alert status for hidden tabs

Categories

(WebExtensions :: Frontend, enhancement, P3)

enhancement

Tracking

(firefox61- wontfix, firefox62 affected)

Tracking Status
firefox61 - wontfix
firefox62 --- affected

People

(Reporter: mstriemer, Assigned: mstriemer)

References

(Blocks 1 open bug)

Details

When a hidden tab pops up an alert or a notification it should be pulled to the top of the all tabs dropdown menu so it is easy for a user to find the tab. You can see how this flow would look in the mocks [1]. [1] https://mozilla.invisionapp.com/share/82EIATQAF#/screens/275567088
Depends on: 1408110
Assignee: nobody → mstriemer
Just some background info for implementation. alert/confirm/prompt dialogs from content javascript: If the user previously gave that site permission to focus on prompt, then the tab will become the selected tab and thus visible. If content causes a modal dialog, the tab will get an "attention" attribute on it. For the details see DOMWillOpenModalDialog in tabbrowser.js. If the tab is hidden and has the attention attribute, then is should be handled per mocks.
Nice to have, but not required for the new tab hiding api work. Tracking61-
I created a test page [1] that will create an alert every 2 seconds to test this. [1] https://codepen.io/mkstrmr/full/xjVpBe
Severity: normal → enhancement
Iteration: --- → 62.4 - Jul 2
Product: Toolkit → WebExtensions
Iteration: 62.4 - Jul 2 → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.