dart-sdk/sdk/lib
Martin Kustermann 3f977f0ca6 [dart2wasm] Fix handling of arguments to main
This fixes an issue with runtime blob that created arguments
array for `main()`: the JS referenced a now (after [0]) no longer
existing `stringToDartString` function.

Instead of having a runtime blob at all for the dealing of `main` we
simply give the JS array to the `invokeMain` function which can use
normal JS interop to transform it to a `List<String>`.

=> This avoids the need to export `$getMain`, `$makeStringList` and the
`buildArgsList` JS function.

[0] https://dart-review.googlesource.com/c/sdk/+/372660

Change-Id: I665e60ab93a4f8ed9de5fc135ed0e68514f2af5a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/372461
Reviewed-by: Ömer Ağacan <omersa@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2024-06-25 13:09:29 +00:00
..
_http [io] Propagate cancellation in _HttpOutgoing.addStream 2024-06-02 20:33:26 +00:00
_internal [dart2wasm] Fix handling of arguments to main 2024-06-25 13:09:29 +00:00
_wasm [dart2wasm] Refactor and optimize dart2wasm hash map/set types 2024-03-05 16:00:39 +00:00
async Don't allow completing a _Future with itself. 2024-05-14 15:44:07 +00:00
cli [vm] Remove dart:cli from dartdoc 2024-02-29 13:57:27 +00:00
collection Fix typos 2024-04-30 12:11:00 +00:00
convert Remove Utf8Decoder._convertIntercepted hook 2023-11-23 12:25:26 +00:00
core Reapply "[js_runtime, js_dev_runtime] Implement microsecond field of DataTime" 2024-05-31 15:42:14 +00:00
developer Update various flutter.dev links to more stable destinations 2024-06-20 19:30:02 +00:00
ffi [vm/ffi] address of operator for FFI leaf calls 2024-04-25 10:06:16 +00:00
html Fix broken links in dart:html package. 2024-04-18 18:10:45 +00:00
indexed_db [sdk/js_interop] Clean up and add a few minimal API docs 2024-02-12 14:44:54 +00:00
internal Reland "Tweak expect.dart library." 2024-04-26 15:28:26 +00:00
io [io,doc]: Point out that exit does not kill child processes. 2024-06-10 22:58:28 +00:00
isolate Refer to unnamed constructors in doc comments with '.new' 2023-10-17 14:42:38 +00:00
js Update JSExport docs to refer to createJSInteropWrapper 2024-02-14 00:36:25 +00:00
js_interop js_interop: replace unsupported [this] comment references with this. 2024-05-16 19:43:18 +00:00
js_interop_unsafe [dart:js_interop/_unsafe] Clean up API docs 2024-02-29 04:15:49 +00:00
js_util [sdk/js_interop] Clean up and add a few minimal API docs 2024-02-12 14:44:54 +00:00
math [sdk/math] Mark Point, Rectangle, and MutableRectangle as legacy 2024-02-14 18:35:17 +00:00
mirrors [vm] Add minimal support for mirrors of extension type members 2023-12-07 21:48:50 +00:00
svg [sdk/js_interop] Clean up and add a few minimal API docs 2024-02-12 14:44:54 +00:00
typed_data Add @Since annotation, correct changelog entry position. 2024-06-20 15:35:56 +00:00
vmservice [VM / vmservice] Run service isolate in sound null safe mode (JIT) 2024-03-13 17:56:49 +00:00
web_audio [sdk/js_interop] Clean up and add a few minimal API docs 2024-02-12 14:44:54 +00:00
web_gl [sdk/js_interop] Clean up and add a few minimal API docs 2024-02-12 14:44:54 +00:00
web_sql [docs] update dart:html template files 2024-01-12 18:17:13 +00:00
libraries.json [dart2wasm] Remove unused JSCM typed data lib 2024-06-25 11:00:49 +00:00
libraries.yaml [dart2wasm] Remove unused JSCM typed data lib 2024-06-25 11:00:49 +00:00
PRESUBMIT.py [build] Python 3.12 compatibility. 2023-12-12 18:19:35 +00:00
vmservice_libraries.json [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
vmservice_libraries.yaml update the tooling to generate libraries.json from libraries.yaml 2021-07-27 23:02:50 +00:00