Closed Bug 1926118 Opened 1 year ago Closed 6 months ago

Reenable the browser_urlbar_keyed_search.js and browser_urlbar_search.js perf tests

Categories

(Firefox :: Address Bar, task, P1)

task

Tracking

()

RESOLVED FIXED
139 Branch
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.

Duplicate of this bug: 1925712

A try push to run the urlbar performance tests with the disableExtendForTests pref and codepath removed.

Whiteboard: [fidefe-sidebar]
Attachment #9432399 - Attachment description: WIP: Bug 1926118 - Remove the 'browser.urlbar.disableExtendForTests' pref codepath. → Bug 1926118 - Fix the perf tests for the urlbar breakout. r?dao!
Blocks: 1961688
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/25f7c0a5243d Fix the perf tests for the urlbar breakout. r=desktop-theme-reviewers,urlbar-reviewers,jteow,emilio
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
QA Whiteboard: [qa-triage-done-c140/b139]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: