dart-sdk/tests
Srujan Gaddam 18b7dd771b Reland "[dart:js_interop] Remove Object.toJS and JSNumber.toDart"
This is a reland of commit 16fcfe7eae

Original change's description:
> [dart:js_interop] Remove Object.toJS and JSNumber.toDart
>
> Modifies JSBoxedDartObject reified type on JS backends and also
> modifies JSBoxedDartObject.toDart now that a proper box is introduced.
> Also uses a JS symbol in JSBoxedDartObject.toDart for a property
> check so that different Dart apps don't accidentally share Dart
> objects. It's now an error to call this function on non-boxed objects.
>
> Fixes a type issue where creating a new object literal with the JS
> foreign function was resulting in dart2js thinking toJSBox would
> always throw. Changing the typeDescription to PlainJavaScriptObject
> instead of =Object fixes that issue.
>
> CoreLibraryReviewExempt: Backend-specific library.
> Change-Id: I5cfb1f32ff4328fafdf9831b0d8da806c39391d9
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/309082
> Reviewed-by: Joshua Litt <joshualitt@google.com>
> Commit-Queue: Srujan Gaddam <srujzs@google.com>

CoreLibraryReviewExempt: Reland.
Change-Id: If6b190f12bdf840b0259c5739f50d9bdcd27fd47
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/313600
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
2023-07-17 21:16:07 +00:00
..
co19 [co19] Roll co19 to 7e4ba229fecce1affe8284b166744329182feb3e 2023-07-14 09:29:50 +00:00
co19_2 [test] Introduce status variable $simulator, and fix some cases missing simarm_x64. 2023-04-04 03:10:26 +00:00
corelib Fix bug in VM _CompactHashIterable. 2023-07-04 11:00:50 +00:00
corelib_2 [test] Skip corelib tests relying on symbol names and stack traces in obfuscated and dwarf modes 2023-05-26 20:05:08 +00:00
dartdevc [tests] Add regression test for DDC compiler crash 2023-06-16 22:31:26 +00:00
dartdevc_2 [ddc] Implement new record types 2023-05-12 17:23:07 +00:00
ffi [vm] Async callback fast path when on target isolate 2023-07-11 21:26:48 +00:00
ffi_2 [infra] Make the sanitizer a first-class status variable. 2023-07-10 17:46:31 +00:00
language Test some more corner cases of field promotion. 2023-07-17 18:06:16 +00:00
language_2 [analyzer] Refactor visitMethodInvocation in the const evaluator. 2023-06-30 18:32:27 +00:00
lib Reland "[dart:js_interop] Remove Object.toJS and JSNumber.toDart" 2023-07-17 21:16:07 +00:00
lib_2 [sdk] Provide Isolate.resolvePackageUriSync 2023-07-11 12:59:33 +00:00
modular [Reland][cfe] Support external constructor with final fields 2023-01-17 17:29:28 +00:00
standalone [gardening] Declare resources in test 2023-07-12 14:02:41 +00:00
standalone_2 [sdk] Provide Isolate.resolvePackageUriSync 2023-07-11 12:59:33 +00:00
web [dart2js] Union old and new type when refining in type inference. 2023-07-14 20:46:17 +00:00
web_2 [dart2js] Fix failing web/deferred_fail_and_retry_test on d8 platform. 2023-06-27 18:25:30 +00:00
legacy_status_dart2js.csv Spelling tests 2022-12-19 12:56:47 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
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.