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
fix: crash when loading extension with missing manifest #34168
Conversation
f47a308
to
6f8fcc2
Compare
Co-authored-by: Robo <hop2deep@gmail.com>
Release Notes Persisted
|
I have automatically backported this PR to "16-x-y", please check out #34192 |
I was unable to backport this PR to "19-x-y" cleanly; |
I was unable to backport this PR to "18-x-y" cleanly; |
I have automatically backported this PR to "17-x-y", please check out #34193 |
@codebytere has manually backported this PR to "19-x-y", please check out #34303 |
@codebytere has manually backported this PR to "18-x-y", please check out #34304 |
* fix: crash when loading extension missing manifest * Update electron_paks.gni Co-authored-by: Robo <hop2deep@gmail.com> Co-authored-by: Robo <hop2deep@gmail.com>
Description of Change
Closes #34163.
Fixes a crash when calling
loadExtension
on an extension directory that's missing a manifest file. This was happening becuase the loading logic failed with a localized error string here which we didn't properly depend on. To fix this, we properly bundle the strings.Checklist
npm test
passesRelease Notes
Notes: Fixed a crash when calling
loadExtension
on an extension directory that's missing a manifest file.