flutter / flutter/devtools

index-out-of-bounds errors causes dart2wasm-compiled app to crash / display broken widgets

Open
#9,611 2 comments 0 reactions 1 assignee Claimed by @elliette View on GitHub
dart2wasm P1
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

I noticed that if I explicitly trigger a `RangeError` when we setup our analytics (in `_analytics_web.dart`), it crashes our dart2wasm-compiled app, but **not** our dart2js app.

Need to investigate more, might be related to this comment here:

https://github.com/flutter/devtools/blob/77e37d7a957d3ff57af5236762a051d0825ac662/packages/devtools_app/lib/src/shared/framework/app_error_handling.dart#L60-L66

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.