Removing [engine setViewController:self]; because view is not loaded, but in that function controller is saved. Later, when the view is loaded (loadView) passed as an argument controller is checked against the saved controller and since they match, the nil view is not replaced with a new view.
Fixes: flutter/flutter#74735
* 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
* Query preferred languages from registry
* Check registry size
* Line formats
* A space
* Single space
* Update shell/platform/windows/system_utils.cc
Co-authored-by: Chris Bracken <chris@bracken.jp>
* Mockable windows registry
* Mock windows registry in test
* Formatting
* Some more spaces
* Move paths to constants
* Spacing
* Update shell/platform/windows/system_utils.h
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
* Move registry keys to const vars
* PR conversation
* 2 spaces
* Import
* Separate functionality
* Linux unopt
* PR suggestions
* Update shell/platform/windows/windows_registry.h
Co-authored-by: Chris Bracken <chris@bracken.jp>
* Update shell/platform/windows/system_utils_unittests.cc
Co-authored-by: Chris Bracken <chris@bracken.jp>
* PR
* PR
* Inject registry in constructor
* Format
Co-authored-by: Chris Bracken <chris@bracken.jp>
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
* 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).
This is a convenience script for running unit tests locally.
To make this script work, I had to move several test exclusions
from test_suites.yaml (which controls running tests on CQ)
to the tests themselves. I think this is for the best because
it makes running the tests locally with behavior that matches
CQ easier.
Also added fuchsia_tests to build_and_copy_to_fuchsia.sh
so it builds the unit tests .far packages by default.
Tested: Ran `run_unit_tests.sh`, all tests pass. Ran
`build_and_copy_to_fuchsia.sh`, it still builds.
view.
Currently flatland platform view recursively calls GetViewRef to watch
for ViewRef changes. Since re-linking of views will not be supported by
flatland, GetViewRef should be called only once per view.
Test: ffx test run "fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cm"
Bug: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=109948
This PR makes a few changes to flatland_external_view_embedder as part of fxbug.dev/94000 to enable flatland on smart display.
- Add Opacity
- Add Scale
= Update flatland_external_view_embedder_unittests to verify changes.
Bug: https://fxbug.dev/94000
signals in flatland.
This PR adds support for sending 'View.viewConnected' platform message
when a view gets created and 'View.viewDisconnected' signal when a view
gets destroyed.
Test: ffx test run "fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cm"
Bug: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=93452