Repository navigation
fix: add back fallback wasm-trap handling - #47186
Merged
Merged
Conversation
codebytere
force-pushed
the
refactor-wasm-trap-handling
branch
2 times, most recently
from
May 21, 2025 09:55
d6d3c49 to
e36c53d
Compare
Member
|
Looks like the trap handler feature in only enabled for 64-bit arch, so we still need a way to inject early enough for Linux arm. Would ContentRendererClient::PostIOThreadCreated be a good enough early hook to add |
deepak1556
reviewed
May 21, 2025
codebytere
force-pushed
the
refactor-wasm-trap-handling
branch
from
May 21, 2025 14:42
70bf5b6 to
750f536
Compare
codebytere
force-pushed
the
refactor-wasm-trap-handling
branch
from
May 28, 2025 13:00
750f536 to
535099f
Compare
Member
|
Couple more changes are needed,
|
codebytere
force-pushed
the
refactor-wasm-trap-handling
branch
2 times, most recently
from
June 2, 2025 19:18
29433dd to
42e09c1
Compare
deepak1556
reviewed
Jun 3, 2025
deepak1556
reviewed
Jun 3, 2025
Refs https://chromium-review.googlesource.com/c/chromium/src/+/5372409 This change sets up wasm-trap handling for the case where content_shell has not enabled crash reporting but moves the responsibility to ElectronRendererClient. The default ContentRendererClient assumes that crash reporting is enabled (crashpad enabled by default) and does not set up its own handler.
codebytere
force-pushed
the
refactor-wasm-trap-handling
branch
from
June 3, 2025 08:15
bab3777 to
5ebb9a6
Compare
deepak1556
approved these changes
Jun 3, 2025
|
No Release Notes |
Contributor
|
I was unable to backport this PR to "36-x-y" cleanly; |
Contributor
|
I have automatically backported this PR to "37-x-y", please check out #47345 |
Contributor
|
@codebytere has manually backported this PR to "36-x-y", please check out #47623 |
kigh-ota
pushed a commit
to kigh-ota/electron
that referenced
this pull request
Sep 30, 2025
* fix: add back fallback wasm-trap handling Refs https://chromium-review.googlesource.com/c/chromium/src/+/5372409 This change sets up wasm-trap handling for the case where content_shell has not enabled crash reporting but moves the responsibility to ElectronRendererClient. The default ContentRendererClient assumes that crash reporting is enabled (crashpad enabled by default) and does not set up its own handler. * chore: fix build --------- Co-authored-by: deepak1556 <[email protected]>
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Refs CL:5372409
As a side effect, we can also set
--no-freeze-flags-after-initin the override and remove a patchChecklist
npm testpassesRelease Notes
Notes: none