flutter / flutter/devtools

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

Aperta
#9,611 2 commenti 0 reazioni 1 assegnatario Rivendicata da @elliette Vedi su GitHub
dart2wasm P1
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.