flutter / flutter/devtools

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

Đang mở
#9,611 2 bình luận 0 reaction 1 người được giao Được @elliette nhận Xem trên GitHub
dart2wasm P1
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.