searchUrlGetParams in the modern configuration does not specify the parameter order
Categories
(Firefox :: Search, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox73 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(2 files)
I've just noticed that with the modern configuration, searchUrlGetParams is an object with indeterminate order of the keys.
This is effectively a regression with the modern configuration - bug 1484232 intentionally changed the order of our parameters to better serve people using Google.
We need to be able to specify the order, like we can do with the current legacy configuration and WebExtensions.
Realistically, this probably means switching searchUrlGetParams and related items to be arrays of objects.
Ideally we should do this before landing bug 1542269, as it'll make it slightly simpler overall.
| Assignee | ||
Comment 1•6 years ago
|
||
Note: I picked this up as some of our tests currently break with modern configuration turned on due to the wrong order of keys.
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
We might as well do this for now to keep the tests passing when modern config is turned on. It doesn't actually matter what order these particular parameers are listed in.
Depends on D55640
Comment 5•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/67a38267ec0b
https://hg.mozilla.org/mozilla-central/rev/f25b6b1800eb
Description
•