GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(wasm): Integration wasm uncaught WebAssembly.Exception (#13787) by trzeciak · Pull Request #13854 · getsentry/sentry-javascript

Conversation

@trzeciak

@trzeciak trzeciak commented Oct 2, 2024

Copy link
Copy Markdown
Contributor

Add support for wasm WebAssembly.Exception (uncaught exception in emscripten).

References

  • WebAssembly.Exception | MDN Web Docs
  • Wasm integration doesn't work for uncaught WebAssembly.Exception #13787

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@trzeciak
fix(wasm): Integration wasm uncaught WebAssembly.Exception (#13787)
0c6424d
@trzeciak trzeciak mentioned this pull request Oct 2, 2024
Wasm integration doesn't work for uncaught WebAssembly.Exception #13787
Closed
3 tasks done
@trzeciak
Fix: Wasm integration doesn't work for uncaught WebAssembly.Exception
7895693
#13787
@s1gr1d
s1gr1d requested a review from timfish October 3, 2024 07:24
@s1gr1d
resolve Type errors and add test
14b7526
@s1gr1d

s1gr1d commented Oct 3, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Thanks for adding this PR 🙌
I added a commit with some TS fixes and tests. From my side it looks good :)

trzeciak reacted with thumbs up emoji trzeciak reacted with rocket emoji
All reactions
  • 👍 1 reaction
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@s1gr1d
test(wasm): Add unit tests
ea6dbda
@s1gr1d
s1gr1d requested a review from Lms24 October 3, 2024 08:35
@s1gr1d
Merge branch 'develop' into fix/wasm-integration-for-uncaught-WebAsse…
5a4f6aa
…mbly.Exception-13787
@lforst lforst self-assigned this Oct 3, 2024
@lforst
lforst removed the request for review from timfish October 3, 2024 13:50
trzeciak and others added 3 commits October 4, 2024 11:36
@trzeciak
Merge branch 'develop' into fix/wasm-integration-for-uncaught-WebAsse…
0cffcd9
…mbly.Exception-13787
Luca Forstner
Clean up, check for support, fix tests on older node versions
414127f
Luca Forstner
Actually skip tests on older node versions
bdea5c7
lforst
lforst approved these changes Oct 4, 2024
View reviewed changes

@lforst lforst left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

trzeciak reacted with rocket emoji
All reactions
  • 🚀 1 reaction
lforst
lforst approved these changes Oct 4, 2024
View reviewed changes
@lforst
lforst merged commit d891e06 into getsentry:develop Oct 4, 2024
@github-actions github-actions Bot mentioned this pull request Oct 4, 2024
ref: Add external contributor to CHANGELOG.md #13867
Merged
@trzeciak
trzeciak deleted the fix/wasm-integration-for-uncaught-WebAssembly.Exception-13787 branch October 4, 2024 14:23
@q1blue q1blue mentioned this pull request Oct 31, 2024
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.34.0 https-quantumblockchainai-atlassian-net/ossinsight#968
Open
@bagulm123 bagulm123 mentioned this pull request Nov 2, 2024
[Snyk] Upgrade @sentry/react from 8.22.0 to 8.34.0 bagulm123/komiser#29
Open
This was referenced Nov 2, 2024
[Snyk] Upgrade @sentry/browser from 8.33.1 to 8.34.0 mong/mongts#3389
Closed
[Snyk] Upgrade @sentry/react from 8.33.1 to 8.34.0 mong/mongts#3390
Closed
@kenn7575 kenn7575 mentioned this pull request Nov 3, 2024
[Snyk] Upgrade @sentry/sveltekit from 8.33.1 to 8.34.0 kenn7575/kenni-kollemorten-v2#81
Closed
@mbreadmachine mbreadmachine mentioned this pull request Nov 5, 2024
[Snyk] Upgrade @sentry/react from 8.28.0 to 8.34.0 mbreadmachine/arany-d-osztaly-weboldal#60
Merged
@q1blue q1blue mentioned this pull request Nov 11, 2024
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.35.0 https-quantumblockchainai-atlassian-net/ossinsight#983
Open
@chargome

chargome commented Feb 6, 2025

Copy link
Copy Markdown
Member

@trzeciak these tests fail on Node 20 as apparently there is no exception.message – any idea if there was dropped support? Could not find anything

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@trzeciak

trzeciak commented Feb 7, 2025

Copy link
Copy Markdown
Contributor Author

@chargome I'm not entirely sure what you mean, but I'm not a JavaScript developer, just a C++ developer, and these changes are specifically to support C++ exceptions compiled to wasm and caught by JavaScript (it's a bit complicated 🙈).
If you're asking whether wasm can still throw exceptions in the browser, then yes it can: https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/JavaScript_interface/Exception
I don't know how it looks in node, it's possible that you need to update one of the new functions when the environment is node: isWebAssemblyException / extractType.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Lms24 Lms24 Awaiting requested review from Lms24
1 more reviewer
@lforst lforst lforst approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@lforst lforst

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@trzeciak @s1gr1d @chargome @lforst
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.