Closed Bug 1286198 Opened 9 years ago Closed 9 years ago

Firefox user agent truncated when a service worker is registered

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1286125

People

(Reporter: anaran, Unassigned)

References

()

Details

See these links: http://mozilla.org/firefox/?src=amo referenced from https://addons.mozilla.org/en-US/firefox/addon/firebug/statistics/?last=30 Details: The statistics page above displays on overlay element, stating: To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web! But I am browsing the page from Firefox: navigator.buildID 20160711143754 navigator.language en-US navigator.languages en-US,de navigator.userAgent Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 / I would suggest this information should only be displayed in browsers other than Firefox. http://mzl.la/1vxCDgA
This is not a security bug. Please file non-security bugs at http://github.com/mozilla/addons/issues/new . Thank you.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
This is a Firefox Nightly Bug. My user agent is: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:50.0) Gecko/20100101 /" and? "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:47.0) Gecko/20100101 Firefox/47.0" Note the "Firefox/..." on the end. Its that which AMO uses to determine if you are using Firefox or not.
Status: RESOLVED → REOPENED
Component: Security → General
Product: addons.mozilla.org → Firefox
Resolution: INVALID → ---
(In reply to Andy McKay [:andym] from comment #2) > and? sorry, "and it should be of the form"
Summary: Why tell Firefox user to download Firefox? e.g. Firebug :: Statistics Dashboard :: Add-ons for Firefox → Firefox user agent truncated
I think this could be related to Bug 1286126
(In reply to Alex Gibson [:agibson] from comment #4) > I think this could be related to Bug 1286126 That's not related to the UA at all, though... (In reply to Andy McKay [:andym] from comment #2) > This is a Firefox Nightly Bug. My user agent is: > > "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:50.0) Gecko/20100101 /" Andy, where does this UA come from? Are we sure this is about the UA rather than the bug Alex referenced? Either way, this is a gecko or an AMO issue, so moving to core for now.
Component: General → Untriaged
Flags: needinfo?(amckay)
Product: Firefox → Core
Summary: Firefox user agent truncated → Firefox user agent truncated (Firefox recognition on AMO is broken)
(In reply to :Gijs Kruitbosch from comment #5) > (In reply to Alex Gibson [:agibson] from comment #4) > > I think this could be related to Bug 1286126 > > That's not related to the UA at all, though... > > (In reply to Andy McKay [:andym] from comment #2) > > This is a Firefox Nightly Bug. My user agent is: > > > > "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:50.0) Gecko/20100101 /" > > Andy, where does this UA come from? Are we sure this is about the UA rather > than the bug Alex referenced? That came from Nightly I downloaded this morning. I'm 100% sure if you send the proper Firefox user agent to AMO, it will detect as Firefox.
Flags: needinfo?(amckay)
My user agent in today's Nightly says: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:50.0) Gecko/20100101 Firefox/50.0" But if I have a service worker registered I get upon restart: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:50.0) Gecko/20100101 /"
Great, so this is just a dupe of bug 1286125 which will likely also be fixed by bug 1286126.
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → DUPLICATE
Summary: Firefox user agent truncated (Firefox recognition on AMO is broken) → Firefox user agent truncated when a service worker is registered
Moving from Core::Untriaged to Core::General https://bugzilla.mozilla.org/show_bug.cgi?id=1407598
Component: Untriaged → General
You need to log in before you can comment on or make changes to this bug.