Reenable the browser_urlbar_keyed_search.js and browser_urlbar_search.js perf tests
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: sfoster, Assigned: sfoster)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-sidebar])
Attachments
(1 file)
There are 2 urlbar perf tests browser/base/content/test/performance/browser_urlbar_keyed_search.js and browser/base/content/test/performance/browser_urlbar_search.js which ostensibly check for unwanted reflows but rely on a test-only configuration to pass. The browser.urlbar.disableExtendForTests pref is set for this test suite and results in a early-return in UrlbarInput's startLayoutExtend. It looks like this was originally added as a workaround in bug 1577541. With the patch in Bug 1921811 to make the urlbar a popover, the divergence between test and non-test code increases to the point where these perf tests aren't really providing any value and are just requiring maintenance of an additional test-only code path.
This unblocks 1921811, but we do want this coverage, so I'm suggesting a P1 to try and restore the tests asap.
| Assignee | ||
Comment 2•1 year ago
|
||
| Assignee | ||
Comment 3•1 year ago
|
||
A try push to run the urlbar performance tests with the disableExtendForTests pref and codepath removed.
Updated•1 year ago
|
Updated•7 months ago
|
Comment 5•6 months ago
|
||
| bugherder | ||
Updated•6 months ago
|
Description
•