dart-sdk/tests
Daco Harkes ac2412ca01 Revert "[vm/ffi] Disallow Pointers and structs in finalizers and expandos"
This reverts commit 2376ab5186.

Reason for revert: Importing dart:ffi from dart:core breaks the VM when using --enable-ffi=false

Original change's description:
> [vm/ffi] Disallow `Pointer`s and structs in finalizers and expandos
>
> `Dart_NewWeakPersistentHandle` and `Dart_NewFinalizableHandle` in
> `dart_api.h` do no longer accept `Pointer`s and subtypes of `Struct`s
> as values passed in to the `object` parameter.
>
> Expandos no longer accept `Pointer`s and subtypes of `Struct`s
> as values passed in to the `object` parameter.
>
> Cleans up unused object_store->ffi_struct_class.
>
> Closes: https://github.com/dart-lang/sdk/issues/45071
> Breaking change: https://github.com/dart-lang/sdk/issues/45072
>
> TEST=vm/cc/DartAPI_FinalizableHandleErrors
> TEST=vm/cc/DartAPI_WeakPersistentHandleErrors
> TEST=tests/ffi(_2)/expando_test.dart
>
> Change-Id: I1f11adfa073c7d2c979f3c2bb15c7444c7c767a0
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/186280
> Commit-Queue: Daco Harkes <dacoharkes@google.com>
> Reviewed-by: Martin Kustermann <kustermann@google.com>

TBR=lrn@google.com,vegorov@google.com,kustermann@google.com,dacoharkes@google.com

Change-Id: Ib76d27e59391dc6107d3f8e8fba3d67640ea9a5c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195060
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2021-04-12 16:30:57 +00:00
..
co19 [co19] Skip in status files removed or replaced where it is possible 2021-04-12 13:26:49 +00:00
co19_2 [co19] Skip in status files removed or replaced where it is possible 2021-04-12 13:26:49 +00:00
corelib Change VM DateTime to-local-time computation to not fail for <1h changes. 2021-04-08 16:51:00 +00:00
corelib_2 Change VM DateTime to-local-time computation to not fail for <1h changes. 2021-04-08 16:51:00 +00:00
dartdevc [ddc] Add library URIs to cast failure messages 2021-04-09 22:24:43 +00:00
dartdevc_2 [ddc] Add library URIs to cast failure messages 2021-04-09 22:24:43 +00:00
ffi Revert "[vm/ffi] Disallow Pointers and structs in finalizers and expandos" 2021-04-12 16:30:57 +00:00
ffi_2 Revert "[vm/ffi] Disallow Pointers and structs in finalizers and expandos" 2021-04-12 16:30:57 +00:00
language [cfe] Uninitialized variable declarations in const functions. 2021-04-12 15:42:26 +00:00
language_2 [vm/aot] Set type context for fields in signature shaker. 2021-04-09 16:14:23 +00:00
lib [dart:html] Fix getContext3d nullability 2021-04-09 19:03:43 +00:00
lib_2 [dart:html] Fix getContext3d nullability 2021-04-09 19:03:43 +00:00
modular [ddc] Fix private class exposed by typedef 2021-04-05 18:54:56 +00:00
standalone [Runtime/Tests] - Do not output large amount of test data to stdout 2021-04-12 04:51:05 +00:00
standalone_2 [Runtime/Tests] - Do not output large amount of test data to stdout 2021-04-12 04:51:05 +00:00
web Reland "[dart2js] Add support for bundling fragments." 2021-04-08 17:46:50 +00:00
web_2
legacy_status_dart2js.csv
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.