google / google/webcrypto.dart
Unable to handle JavaScriptError when running dart2wasm
Open
- Dominant language
- Dart
- Stars
- 116
- Forks
- 110
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 9
Description
Dart 3.5.4 does not expose `_JavaScriptError` when compile to wasm, so errors generated by the browser cannot be properly handled.
Instead we'll throw `UnknownError` as a temporary workaround to handle `_JavaScriptError` within `package:wepcrypto`.
See also: https://github.com/dart-lang/sdk/issues/55496
Contributor guide
Assessment
This issue has not been assessed yet.