14 Commits

Author SHA1 Message Date
Jason Simmons
27dfd06f91 Assert checks for NaN/infinite values in Skia canvas Dart wrappers (#3967) 2017-08-08 15:49:51 -07:00
Jason Simmons
6a4951102b Remove usage of NaN values in canvas_test that caused a Skia assert failure (#3962) 2017-08-07 17:36:29 -07:00
Ryan Macnak
431a251151 Revert "Avoid spurious descheduling when posting message loop tasks. (#3812)" (#3862)
This reverts commit 2062ca14ec55934ac27b6a1e69031c44daae1e54.
2017-07-11 14:49:13 -07:00
Ryan Macnak
2062ca14ec Avoid spurious descheduling when posting message loop tasks. (#3812)
Closes dart-lang/sdk#29971
2017-07-05 12:39:53 -07:00
Yegor
926c9a581f preserve Window callback zones (#3817)
* preserve Window callback zones

Run Window callbacks in the zone they are registered in. This is consistent with how other native API work, such as `scheduleMicrotask`, `Timer`, and `dart:io`. This also enables the developers to use the `Zone` API to capture and log unhandled Dart errors.

* refactor wrapping

* new line

* fewer if checks; group getters/setters/fields

* inline _invokeOnPointerDataPacket
2017-06-26 15:08:43 -07:00
Ian Hickson
6cf34cb5b3 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.
2017-06-22 17:06:59 -07:00
Jason Simmons
c7914e2573 Update scripts for renaming of sky_shell binaries to flutter (#3526) 2017-03-27 15:06:39 -07:00
Hans Muller
4ffba73767 Color operator== should compare runtimeTypes (#3495) 2017-03-22 10:58:03 -07:00
Jason Simmons
d92d4c1b03 Script that runs engine unit tests and Dart tests of engine APIs (#3372)
The Dart tests were migrated from the flutter/test/engine suite in the
framework repository
2017-01-30 10:52:44 -08:00
Chinmay Garde
55ed56040d Add testonly = true to the flutter/testing target and disable WTF tests that depend on ICU. (#3271) 2016-11-23 16:12:39 -08:00
Chinmay Garde
c4bd577379 On host targets, add dependencies on host unit test executables. (#3269) 2016-11-23 15:57:52 -08:00
Adam Barth
22f834e048 Remove files that moved to buildroot 2016-08-09 13:51:42 -07:00
Adam Barth
21dd7553a0 Update to chromium 9659b08ea5a34f889dc4166217f438095ddc10d2 2015-07-16 22:10:38 -07:00
Adam Barth
ad9b135217 Update to mojo 5f5dfcc9af8b40a14dd76e34c60a5766b9f58bb4 2015-07-16 11:44:14 -07:00