Closed Bug 1862583 Opened 2 years ago Closed 2 years ago

Selected tab color can lag behind when switching tabs, due to async tab switching and tabs.css using [selected] instead of [visuallyselected]

Categories

(Firefox :: Tabbed Browser, defect)

defect

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: dao, Assigned: dao)

Details

(Keywords: perf-alert)

Attachments

(1 file)

Looks like this has been broken for some time. The selected attribute is a bit of a footgun. :(

Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3084ddd8f59d Use [visuallyselected] instead of [selected] to set the selected tab color. r=emilio,desktop-theme-reviewers

Backed out for causing almost perma failures on test_ext_url_overrides_newtab.js

[task 2023-11-02T10:39:07.147Z] 10:39:07     INFO -  TEST-START | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_url_overrides_newtab.js
[task 2023-11-02T10:44:07.149Z] 10:44:07  WARNING -  TEST-UNEXPECTED-TIMEOUT | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_url_overrides_newtab.js | Test timed out
[task 2023-11-02T10:44:07.150Z] 10:44:07     INFO -  TEST-INFO took 300001ms
[task 2023-11-02T10:44:07.150Z] 10:44:07     INFO -  >>>>>>>
[task 2023-11-02T10:44:07.150Z] 10:44:07     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2023-11-02T10:44:07.150Z] 10:44:07     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2023-11-02T10:44:07.150Z] 10:44:07     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2023-11-02T10:44:07.150Z] 10:44:07     INFO -  running event loop
[task 2023-11-02T10:44:07.150Z] 10:44:07     INFO -  xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_url_overrides_newtab.js | Starting test_multiple_extensions_overriding_newtab_page
[task 2023-11-02T10:44:07.150Z] 10:44:07     INFO -  (xpcshell/head.js) | test test_multiple_extensions_overriding_newtab_page pending (2)
[task 2023-11-02T10:44:07.150Z] 10:44:07     INFO -  TEST-PASS | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_url_overrides_newtab.js | test_multiple_extensions_overriding_newtab_page - [test_multiple_extensions_overriding_newtab_page : 147]
Flags: needinfo?(dao+bmo)

Further investigation shows that this was not in fact, the issue.
Relanded the patch accordingly.
Sorry if this has caused any inconvenience!

Flags: needinfo?(dao+bmo)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch

== Change summary for alert #40111 (as of Sat, 04 Nov 2023 15:13:06 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
3% tabswitch windows10-64-shippable-qr e10s fission stylo webrender-sw 8.12 -> 7.84
20% perf_reftest_singletons id-getter-2.html windows10-64-shippable-qr e10s fission stylo webrender 639.66 -> 514.42

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=40111
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=40094

Keywords: perf-alert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: