Closed
Bug 1764452
Opened 2 years ago
Closed 2 years ago
tabs.onUpdated spamming with {attention:false} when changing selected tab
Categories
(WebExtensions :: Frontend, defect)
WebExtensions
Frontend
Tracking
(firefox101 fixed)
RESOLVED
FIXED
101 Branch
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: Oriol, Assigned: Oriol)
References
Details
Attachments
(1 file)
Just by selecting different tabs, extensions get spammed with { attention: false }
.
Selecting another tab should only trigger tabs.onActivated
and tabs.onHighlighted
events.
-
Inspect some extension and run
browser.tabs.onUpdated.addListener(console.log.bind(console, "onUpdated"));
-
Open browser console
-
Change selected tab a few times
-
The browser console will show the logs
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/e64a440f0c8b Avoid tabs.onUpdated events for 'attention' when value doesn't change. r=Gijs,mixedpuppy
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox101:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Comment 4•2 years ago
|
||
== Change summary for alert #33924 (as of Mon, 25 Apr 2022 17:57:30 GMT) ==
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
4% | tabswitch | windows10-64-shippable-qr | e10s fission stylo webrender-sw | 7.56 -> 7.22 |
4% | tabswitch | linux1804-64-shippable-qr | e10s fission stylo webrender | 7.23 -> 6.91 |
4% | tabswitch | windows10-64-shippable-qr | e10s fission stylo webrender | 7.52 -> 7.21 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=33924
You need to log in
before you can comment on or make changes to this bug.
Description
•