-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Tests have started failing on Firefox #1904
Comments
Maybe an additional feature check is required. |
I can reproduce the issue on Ubuntu when I run it headless, but not when running it "normal". On Fedora, I cannot reproduce the issue either way. The difference seems to be which H.264 decoder is used. On Ubuntu, I'm getting OpenH264, whilst I have FFMPEG on the Fedora. So it would seem there is some bug with OpenH264 in headless mode. I'll try to report a bug to Firefox about it. The reason it's breaking the noVNC tests is because the call to If I change that, things start working on Ubuntu (as far as it now skips those tests in headless). However, it still breaks when run in GitHub actions. I'm getting a different error though: "The given encoding is not supported.". Will need to dig further. |
Oh, wow, I guess I just assumed that a function named like |
Hmm... So the snap Firefox included in Ubuntu works with that fix. But the .deb Firefox installed from Mozilla gives that new error. The Mozilla one even gives that error in "normal" mode. |
I've reported some bugs to mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1932391 |
I've worked around that issue by simply doing a test decode in the H.264 check. Unfortunately, there is still yet another bug in Firefox. This time on Windows. |
Windows bug reported: |
Finally. A bunch of workarounds later and I'm now getting everything to run through. H.264 is often skipped on Firefox, though, but I don't think we can do much about that. We'll have to wait for them to fix things. |
Describe the bug
Two out of 11 test-runs fail on GitHub, as seen on pr #1428:
Additional context
It seems all failed tests have something to do with H.264 on Firefox, @any1 could it be that Firefox now has support for this? Perhaps the unit tests need to be modified somehow.
I cannot reproduce the issue myself on Linux, all unit tests work on my workstation, both in Firefox 131 and Chrome 129.
But in Firefox on Windows 11, I get this error instead:
The text was updated successfully, but these errors were encountered: