New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mozilla.slack.com - site is not usable - menu buttons don't work in Firefox version "100" #67866
Comments
So in a normal browsing context. There are 60 instances of I poked around and I found
but this is not the only parser they used. In fact each libraries come with their own. This is will be probably painful to debug. |
@wisniewskit it would be great if you could poke at it today. I tried and failed. I searched for pattern |
My instincts suggested that this is likely happening because of a comparison treating numbers as strings (
Since the string
I confirmed this by trying with "51" as the version (upon which I can't click the UI elements even on their "browser is out of date" warning popup), but "52" doesn't exhibit the problem. This appears to just be a coding oversight, as they are using number comparisons elsewhere rather than strings. |
then let switch to contact ready. |
Hey folks, very helpful for flagging this! Just letting you know that we've raised this internally at Slack to dive in, thanks for the deep dive above highlighting the issue in the .js script. Patrick - Slack CE |
Hi there, Just following up to let you know we believe we've addressed this issue, and can no longer repro the issue with the below: • visit about:config From our end, the buttons appear to be working again as expected. Thanks again for bringing this to our attention, Patrick - Slack CE. |
Thanks, @Plambey! I just tested with a "Firefox 100" User-Agent string and Slack reactions now work for me. 👍🏻 |
URL: https://mozilla.slack.com/
Browser / Version: Firefox 100.0
Operating System: Windows 10
Tested Another Browser: No
Problem type: Site is not usable
Description: Buttons or links not working
Steps to Reproduce:
To find websites that break if the User-Agent string's browser version number has three digits (see Firefox bug 1672445), I set my Firefox's
general.useragent.override
pref toMozilla/5.0 (Windows NT 10.0; rv:100.0) Gecko/20100101 Firefox/100.0
, spoofing that I have Firefox version 100.I discovered Slack's message popup menu's buttons (such as "Add reaction" or "Reply in thread") stop working for Firefox versions >= 100 and <= 519. They mysteriously start working again for versions >= 520.
The Firefox UA string has two Firefox numbers:
rv:100.0
andFirefox/100.0
. The second number (Firefox/100.0
) is the one that is breaking Slack. If I set my UA string toMozilla/5.0 (Windows NT 10.0; rv:86.0) Gecko/20100101 Firefox/100.0
, the menu buttons are broken. If I set my UA string toMozilla/5.0 (Windows NT 10.0; rv:100.0) Gecko/20100101 Firefox/86.0
, the menu buttons work correctly.View the screenshot
Browser Configuration
From webcompat.com with ❤️
The text was updated successfully, but these errors were encountered: