dart-sdk/tests
Martin Kustermann a133b75438 [dart2wasm] Enable weak reference / finalization tests on dart2wasm
This enables the currently dart2js/ddc-only tests for [WeakReference] /
[Finalizer] on dart2wasm.

As part of that we add a polyfill for the two implementations (just like
dart2js/ddc) do, to make the polyfill test pass.

We also migrate the implementation to use static interop.

Issue https://github.com/dart-lang/sdk/issues/55474

TEST=tests/web/wasm_js_shared/weak_reference_*test.dart

Change-Id: Ic08ae41b6fc78fd9857172ca24695a7f91e06a78
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363082
Reviewed-by: Ömer Ağacan <omersa@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2024-04-18 07:55:38 +00:00
..
co19 [ddc] Add configuration to compile with asserts 2024-04-04 14:40:30 +00:00
corelib [dart2wasm] Fix JSStringImpl trim methods, add tests 2024-04-17 14:41:52 +00:00
dartdevc Revert "Tweak expect.dart library." 2024-04-09 18:10:57 +00:00
ffi [vm/ffi] Fix variadic arguments on MacOS Arm64 2024-04-17 15:42:16 +00:00
hot_reload [reload_test] Adding support for VM hot reload tests. 2024-04-07 16:39:49 +00:00
language Use less static types, just check names and library URIs of declarations. 2024-04-09 19:56:01 +00:00
lib Revert "Tweak expect.dart library." 2024-04-09 18:10:57 +00:00
macro_build add package:_macros (SDK vendored) and package:macros (pub published) 2024-03-26 18:40:00 +00:00
modular Support prebuilt macros in the incremental compiler mode for DDC 2024-04-09 07:37:26 +00:00
standalone Revert "Tweak expect.dart library." 2024-04-09 18:10:57 +00:00
web [dart2wasm] Enable weak reference / finalization tests on dart2wasm 2024-04-18 07:55:38 +00:00
legacy_status_dart2js.csv
OWNERS
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.