Skip to content
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

one.element.io doesn't start anymore in Firefox 128 #27864

Closed
sd2k9 opened this issue Jul 26, 2024 · 10 comments
Closed

one.element.io doesn't start anymore in Firefox 128 #27864

sd2k9 opened this issue Jul 26, 2024 · 10 comments
Labels
O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Critical Prevents work, causes data loss and/or has no workaround T-Defect

Comments

@sd2k9
Copy link

sd2k9 commented Jul 26, 2024

Steps to reproduce

Since around the Element Web update around 18.07.2024
I cannot use Element Web at https://one.element.io/ anymore.

Clearing browser cache or stored data doesn't help.

Can I somehow find out why Element thinks that the latest Firefox release is not a supported browser?

Thank you!

Outcome

What did you expect?

Login to Matrix Element One

What happened instead?

image

Looking at the firefox console I can see the following error:

Error: Unsupported browser
    c compat.ts:34
    a BackgroundAudio.ts:27
    q Notifier.ts:116
    ts Notifier.ts:535
    Webpack 3
[rageshake.ts:77:16](webpack://element-web/react-sdk/src/rageshake/rageshake.ts)
    t rageshake.ts:77
    <anonymous> logger.ts:97
    ts index.ts:231

Operating system

Debian GNU/Linux 12 (bookworm)

Browser information

Firefox 128.0 (64-bit)

URL for webapp

https://one.element.io

Application version

Element version: 1.11.71

Homeserver

Element One

Will you send logs?

No

@sd2k9 sd2k9 added the T-Defect label Jul 26, 2024
@dosubot dosubot bot added O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Critical Prevents work, causes data loss and/or has no workaround labels Jul 26, 2024
@sd2k9
Copy link
Author

sd2k9 commented Jul 26, 2024

Complete output of Firefox Console is attached. Is there anything else I can provide or check myself? Thanks!

firefox_console.txt

@t3chguy
Copy link
Member

t3chguy commented Jul 26, 2024

Duplicate of #27793
Your browser has a required feature disabled, this feature isn't optional in the web spec.

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2024
@sd2k9
Copy link
Author

sd2k9 commented Jul 29, 2024

Thanks @t3chguy, that helped me!
Sorry for missing #27793 when I looked for a solution.

For anybody interested: The relevant about:config setting is dom.webaudio.enabled
You can disable it after loading the Element page.
Same for also recently required javascript.options.wasm

Still, it would be nice to find such kind of information somewhere on the failing page instead of a unspecific (and wrong) "browser not supported" message. Maybe in some debug context or browser console if you want to hide this from the average user?

Can you please consider this for future improvements?

@t3chguy
Copy link
Member

t3chguy commented Jul 29, 2024

Maintaining how to modify your browser back to stock is not feasible for such a small team. Browsers don't agree on such internal behaviours and they are not the same between browsers. Different options appear with every update.

@sd2k9
Copy link
Author

sd2k9 commented Jul 29, 2024

I understand - and agree - that giving instructions about settings for all browsers out there is not feasible.

I was just wondering, wouldn't it be possible to give more details about a failure? Like a "Your browser is missing WebAudio" instead of "unsupported browser"? This should make debugging (and solving) of problems much easier for everybody - would I have gotten this message I could have solved the problem myself without the need of your help.
Isn't this especially helpful for a small team, giving your users the knowledge to solve as many issues as possible by themself?

There are restricted environments out there where returning to stock is not possible, but modifying some settings may be.

Anyway, again thanks for your help and your consideration of my suggestion.

@t3chguy
Copy link
Member

t3chguy commented Jul 29, 2024

We already have a WebAudio Modernizr check loaded which should do exactly that, its just a case of a new release coming out to make use of them.

@mpeter50
Copy link

We already have a WebAudio Modernizr check loaded which should do exactly that, its just a case of a new release coming out to make use of them.

If you mean an error message in the console, I guess thats something, but its not really visible, and it can be hard to find among the few dozen other messages when you are supposed to be doing something else than debugging software.

image

In that case, I think having this text message about the missing feature on the displayed webpage besides the "Unsupported browser" text would be more helpful.

@t3chguy
Copy link
Member

t3chguy commented Aug 15, 2024

@mpeter50 riot.grin.hu is on 1.11.72 which is 2 versions out of date so doesn't have the latest error I spoke about earlier.

@mpeter50
Copy link

Oh, sorry. I thought "Enable audio/webaudio Modernizr rule (#27772)" in the changelog was about that.

@mpeter50
Copy link

I think this is still happening on app.element.io, which runs Element version 1.11.76.
If webaudio is disabled, the page still only shows a generic "unsupported" message, while the console logs the lack of webaudio support:

app.element.io page error message developer console output
image image

Should I open an issue for this? Asking in case I have just overlooked something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Critical Prevents work, causes data loss and/or has no workaround T-Defect
Projects
None yet
Development

No branches or pull requests

3 participants