Closed
Bug 1376573
Opened 8 years ago
Closed 8 years ago
Override the UserAgents inside a ComplexOverride function via UserAgentOverrides.jsm
Categories
(Web Compatibility :: Interventions, enhancement)
Web Compatibility
Interventions
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: denschub, Assigned: denschub)
References
Details
Attachments
(1 file)
In bug 1371335, Ehsan made us aware that we are duplicating some features from `UserAgentOverrides.jsm`. This is true, we did this on purpose, since `UserAgentOverrides.jsm` was not enabled on Desktop. However, this changed and we can now use it on both Desktop and Mobile.
So, to avoid having two implementations for the same thing, we should remove our duplicated code and go back to using `UserAgentOverrides.jsm`.
| Assignee | ||
Updated•8 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•8 years ago
|
||
Eric, this patch removes our own listener for the `http-on-useragent-request` event and replaces it with the `ComplexOverride` feature in `UserAgentOverrides.jsm`, since it is now back in Firefox Desktop. This removes the need for us to carry a own implementation of the service listener and should make it easier to maintain in the long run while not affecting our flexibility at all.
Attachment #8881574 -
Flags: review?(etsai)
Updated•8 years ago
|
Attachment #8881574 -
Flags: review?(etsai) → review+
| Assignee | ||
Comment 2•8 years ago
|
||
This was merged, so this bug is fixed. Landing is tracked in bug 1376602.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•