See https://fxrev.dev/793422.
Missed in 92fca42e0667969b3a78815c77afca9c6acd1c83,
3bfa5c5b1db5391d49cc58f9a23f1b4cd802d3e3 and
d429b674f1dd60590fda077fd893a4493c2b5455.
`AddLocalChild(LocalComponent*)` is deprecated.
It was replaced by:
`AddLocalChild(LocalComponentFactory)`, which is a type alias for a
lambda that returns a `std::unique_ptr<LocalComponentImpl>`.
This change addresses problems that arised due to object lifetime
management of the components, and allows RealmBuilder to model the
component lifecycle of local components in a way that's more consistent
with other components.
The RealmBuilder-built `Realm` now owns the lifetime of the local
components, instead of the client, and those objects are valid until
the `Realm` is destroyed.
Bug: fxbug.dev/109804
* Remove uses of --no-sound-null-safety in preparation for the Dart 3.0
roll.
* Update quiver package to latest.
* Run Fuchsia engine in null safe mode.
* Run Fuchsia engine in non null safe mode.
* Update Dart version to 3.0
* Address review comments.
This capability is being removed by the Fuchsia platform (https://fuchsia-review.git.corp.google.com/c/fuchsia/+/758606), but is currently blocked on this usage.
This change simply removes the capability from this tests, where it doesn't seem to be used at all.
* Use fuchsia_component
* [mouse-input] mouse-input-view doc nits and add mouse-input-test to the run_integration_test.sh script
Co-authored-by: Erik <erkln@google.com>
* add methods
* add empty test
* add unit test
* Update licenses_flutter
* add const
* size -> get length
* add boundary checks
* add tests
* remove death test since it says "Death tests use fork(), which is unsafe particularly in a threaded context."
* Use fuchsia_component
* [fuchsia-sdk-roll] Hermetic packaging is flipped on by default. Add
test_manager package to the tests facets.
Co-authored-by: Erik <erkln@google.com>
This PR fixes a bug identified after DPR feature was added in flatland
where currently we do not multiple the logical size of the view by the
pixel ratio.
This change is getting tested in input tests like mouse-input-test,
touch-input-test
This PR adds a touch-input-view for use in the touch-input-test to validate touch input. The view will be attached to the test, and a touch event will be injected. The test asserts that a correct response is sent back from the view (the location of the touch as well as the name of the view).
This CL fixes the bug in pointer injector delegate where the viewRef is
incorrectly cloned in the flatland platform view, causing an invalid
viewRef to be passed in the Fidl request.
Test: flutter-embedder-test
* Add a `use` for the `root-ssl-certificates` to ensure BoringSSL
can read the certificates at /config/ssl
* Reformat manifest with `cmc format`
Fixes `HandshakeException`s when establishing a secure connection:
```
HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:393))
<asynchronous suspension>
```
Depends on changes that offer this directory to the runners,
e.g. https://fxrev.dev/737597
Bug: https://fxbug.dev/111712
* add dpr field to flatland
* format
* more dpr updates
* add inverse
* fix error
* fix error
* fix formatting
* formatting again
* one more formatting fix
* update metrics
* fix build errors
* formatting
* test
* formatting
* test
* test
* fix typo
* clean up a bit
* format
* fix metrics
* remove line
* fix test
* remove prints
* fix formatting
* update checks
* format
Currently, the hit-region is size FLT_MAX which is susceptible to
numerical overflow when rotating or translating (or any other
modification to the value).