Skip to content

[wasm] Make runtime errors from simd and exception handling failures easy to understand #84574

@lewing

Description

@lewing

Now that we are enabling post MVP Wasm rutime features we should make sure that any runtime errors are clear and guide the developer on how to resolve the issue. Additionally we should consider adding messages during the build explaining that these features are enabled and that they impact compatibility.

Features which could be detected

  • wasm SIMD - old Safari
  • wasm EH
  • Threads/SharedArrayBuffer/WebWorker - Coop headers, old FireFox without ES6 workers
  • BigInt64Array - old Safari
  • CSP - http headers
  • WebSocket on NodeJS

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions