Closed Bug 1978193 Opened 3 months ago Closed 3 months ago

Make browser_contextmenu.js more thorough

Categories

(Firefox :: Search, task, P1)

task

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: adw, Assigned: adw)

References

Details

(Whiteboard: [sng])

Attachments

(1 file)

browser_contextmenu.js is missing some cases, which I happened to find while working on bug 1977965 because my patch broke them. I caught one of the cases while manually testing my patch, and an unrelated Sync test caught the other one. In general, browser_contextmenu.js is not very thorough. My patch refactors a lot of the context-menu search code, and I'd like more confidence that I'm not breaking anything. So, I'd like to rewrite that test so it checks every possible combination of the relevant variables: the two separatePrivateDefault prefs, private windows vs. non-private windows, different default private engine vs. same default private engine as the main default engine, etc.

Please see the bug for context. I tried to keep as much of this code as I could.

Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
QA Whiteboard: [search] [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: