-
Notifications
You must be signed in to change notification settings - Fork 53
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
Cannot start Firefox (or FirefoxHeadless) 121 on macOS Sonoma 14.2.1 (23C71) #328
Comments
I can reproduce this after upgrading to the latest Firefox, Firefox 121.0.1 (64-bit), with macOS 13, and an Apple M1 processor. If you enable
This is reproducible even without Karma:
Hence this is more about Firefox generally no longer working from the command-line, and not something Karma can do anything about. I suspect it has something to do with the security mechanisms in macOS disallowing the process to run from the Terminal application. Perhaps Mozilla changed the way it signs the Firefox binary? Or perhaps Firefox changed the way it replaces the binary during an upgrade that makes macOS treat it as suspicious. Possibly related:
|
Resolution:
Selenium has the same issue:
|
This issue will affect everyone on recent macOS running Firefox 121 or newer. |
I've been able to patch a workaround by replacing the firefox-bin executable with a symlink that pointed to the firefox executable;
So my guess would be that if in karma-firefox-launcher/index.js the line |
It also happens on macOS 11.7.10 on an Intel processor |
This attempts to avoid a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This attempts to avoid a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
Right; the issue is independent on the macOS version, it affects all Firefox versions from 121 on any macOS version. Basically, right now @birtles @ewinslow I know this is not a security fix but considering that without PR #330 this package is not working at all on macOS and that the fix is a one-liner, is there any chance of merging it & releasing a new version? |
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
This issue has been raised on karma-firefox-launcher but it's yet to be released karma-runner/karma-firefox-launcher#328
This avoids a bug starting Firefox on Mac: karma-runner/karma-firefox-launcher#328
@XhmikosR @pmvald Would you be able to publish a release for the above? Alternatively, I'd be happy to help myself if you'd be comfortable with me having Git write and npm co-owner access for this package (ref karma-runner/karma-qunit#185). |
@Krinkle I don't even have rights myself 😛 IIRC I only had rights in karma-qunit. |
I cannot start Firefox (or FirefoxHeadless) 121 on macOS Sonoma
14.2.1 (23C71)
. It used to work on that very OS a few weeks ago, possibly with Firefox 120. EDIT: confirmed - this issue will affect everyone on recent macOS running Firefox 121 or newer.A very simple test case doesn't work, just follow instructions from https://github.com/mgol/karma-test. When doing so, I am getting:
The error message is the same as in #93. However, I am running it directly on a normal OS, not behind Docker.
The text was updated successfully, but these errors were encountered: