Closed
Bug 1328853
Opened 8 years ago
Closed 8 years ago
Console message gets logged every time, not only after overrides
Categories
(Web Compatibility :: Interventions, defect)
Web Compatibility
Interventions
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: denschub, Assigned: denschub)
References
Details
Attachments
(1 file)
The message "The user agent has been overridden for compatibility reasons." shows up every time, not only if an user agent override was in place.
Assignee | ||
Comment 1•8 years ago
|
||
Using `getUAForURI` is not the best idea, since it will return an UA string regardless if we need to override it or not. Therefore, I've implemented `hasUAForURIInCache` do actually check if we need to override the current URI or not.
Attachment #8824042 -
Flags: review?(etsai)
Comment 2•8 years ago
|
||
Comment on attachment 8824042 [details]
Pull request to fix this issue, Version 1
Looks good for me to use hasUAForURIInCache for check override only
Attachment #8824042 -
Flags: review?(etsai) → review+
Assignee | ||
Comment 3•8 years ago
|
||
Thanks, merged.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 4•8 years ago
|
||
Tested on Mac OS X 10.10, 10.12, Ubuntu 16.04 x64 and Windows 10 x64 with Firefox Nighlty 53.0a1(2016-01-05) ussing the .xpi with the fix received from Dennis and I can confirm the fix.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•