Throw exceptions rather than crashing when Canvas API is misused. (#3811)
This attempts to make the Canvas API and some related features more likely to throw a Dart exception than crash when exposed to bad input. Depends on rolling tonic to https://fuchsia-review.googlesource.com/c/35742/ which this patch does not yet do, but I wanted to put it up for review to see if it was even a reasonable approach.
Showing
此差异已折叠。
testing/dart/canvas_test.dart
0 → 100644
想要评论请 注册 或 登录