Open
Bug 1887952
Opened 8 months ago
Updated 7 months 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•8 months ago
|
Blocks: fxms-infra
Priority: -- → P2
Comment 2•8 months 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•7 months 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•7 months ago
|
Severity: -- → S3
Flags: needinfo?(shughes)
You need to log in
before you can comment on or make changes to this bug.
Description
•