Closed Bug 1587803 Opened 5 years ago Closed 5 years ago

Check BrowserContentHandler.jsm doSearch uses the right engine

Categories

(Firefox :: Search, defect, P3)

defect
Points:
2

Tracking

()

RESOLVED FIXED
Firefox 71
Iteration:
71.4 - Oct 14 - 20
Tracking Status
firefox71 --- fixed

People

(Reporter: mak, Assigned: mak)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

the command line handler in BrowserContentHandler.jsm may open a new window to search, we must ensure that either it never opens a PB window, or if it does, it uses the private engine.

Type: task → defect
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Iteration: --- → 71.4 - Oct 14 - 20

These are the cases where I could run a search in pb mode from the command line:
./mach run -private "? test"
./mach run -private -search "test"
After enabling permanent pb mode:
./mach run "? test"
./mach run -search "test"

the -private-window URL command doesn't seem to be able to execute a search in the private window, it always boils down to a fixed uri.

(In reply to Marco Bonardo [::mak] from comment #1)

These are the cases where I could run a search in pb mode from the command line:
./mach run -private "? test"
./mach run -private -search "test"
./mach run "? test"

Interesting, none of these work on Mac.

Blocks: 1579161
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/06644c68c7e7
Check BrowserContentHandler.jsm::doSearch() uses the private engine when appropriate. r=Standard8

the "? keyword" are expected to only work on Windows anyway, they exist for compatibility with the OS search in Windows 7, at least.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: