Open
Bug 1887952
Opened 2 years ago
Updated 2 years ago
OPEN_URL trigger listener triggers on background tabs
Categories
(Firefox :: Messaging System, defect, P2)
Firefox
Messaging System
Tracking
()
NEW
People
(Reporter: jprickett, Unassigned)
References
(Blocks 1 open bug)
Details
When using the OPEN_URL trigger listener, if one of the target URLs is loaded in a background tab, the trigger listener will fire, potentially displaying a message before the user has actually navigated to the URL in question.
Updated•2 years ago
|
Blocks: fxms-infra
Priority: -- → P2
Comment 2•2 years ago
|
||
I believe we can do something nice with a TabSelect listener. If the tabs progress listener fires on a background tab, save that tab in a WeakSet. Then when a TabSelect event fires, we can check if the target is in our WeakSet, and if so, call the triggerHandler. There's an example of a TabSelect handler in the pdfJsFeatureCalloutCheck trigger listener.
Comment 3•2 years ago
|
||
The severity field is not set for this bug.
:aminomancer, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(shughes)
Updated•2 years ago
|
Severity: -- → S3
Flags: needinfo?(shughes)
You need to log in
before you can comment on or make changes to this bug.
Description
•