dart-sdk/tests
Nate Biggs f057c39255 [dart2js] Add dartDeferredLibraryMultiLoader API to js_helper.
This will allow users who are implementing their own deferred loading mechanism
to batch all the loads for a specific library. Today in order to do batching users have to gather the URIs passed to the `dartDeferedLibraryLoader` hook in a list and schedule (e.g. via setTimeout) a load for some future task.

The need to schedule a task has been shown to cause delays in IPL. But loading each part file individually can also be very expensive. So this allows for a compromise where bundling can be done synchronously per loaded library.

Adds ~8kB to unminified main files and ~2.5kB to minified main files.

Bug: https://github.com/dart-lang/sdk/issues/54202
Change-Id: I623643b03920988cda8b0f8b297944be35ffa606
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/340480
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Nate Biggs <natebiggs@google.com>
2023-12-08 21:10:48 +00:00
..
co19 [cleanup] Remove co19_2 and other references to _2 suites 2023-11-22 11:15:57 +00:00
corelib Remove unnecessary print in corelib/uri_base_test.dart. 2023-11-29 17:37:28 +00:00
dartdevc [test,ddc] Update library test to use static method 2023-11-10 20:39:00 +00:00
ffi [vm/ffi]: Add Native.addressOf 2023-12-05 13:10:36 +00:00
language Allow "field promotion" to apply to abstract getters. 2023-12-07 23:40:27 +00:00
lib [vm] Add minimal support for mirrors of extension type members 2023-12-07 21:48:50 +00:00
modular [tests] Add repro for cross module constant 2023-11-13 22:21:40 +00:00
standalone Revert "Call the HttpClient constructor when connecting a WebSocket to allow HttpOverrides to work." 2023-11-14 16:32:50 +00:00
web [dart2js] Add dartDeferredLibraryMultiLoader API to js_helper. 2023-12-08 21:10:48 +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.