dart-sdk/tests/lib_2/js
Srujan Gaddam 86eb49ac19 [dart:js_interop] Disallow user @staticInterop classes from subtyping most dart:_js_types types
Since user @staticInterop types are erased to JavaScriptObject, they
should only be able to subtype other types that are :> JavaScriptObject,
which are just JSObject and JSAny. Eventually all the other JS types
will move to extension types and we can remove this check.

Change-Id: If56b6770e141238b583937880ca87496780c8fac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/316865
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2023-08-08 19:17:25 +00:00
..
export [dart:js_util] Handle type parameters in export/mocks. 2023-08-04 21:45:29 +00:00
extends_test
js_util [js] Ensure dartify / jsify have inverse semantics. 2023-03-08 00:07:42 +00:00
static_interop_test [dart:js_interop] Disallow user @staticInterop classes from subtyping most dart:_js_types types 2023-08-08 19:17:25 +00:00
subtyping_test
array_test.dart Fixed various typos in a lot of files 2022-07-25 12:21:59 +00:00
datetime_roundtrip_test.dart
external_extension_members_test.dart [pkg:js] Lower external @staticInterop and extension members using invocation-level semantics 2023-05-09 23:12:58 +00:00
external_nonjs_static_test.dart [dart:js_interop] Allow interop inline classes to elide @JS 2023-06-13 23:27:23 +00:00
external_static_test.dart [dart:js_interop] Disallow external extension members with 'static' 2023-06-02 19:14:15 +00:00
instanceof_test.dart
is_check_and_as_cast_test.dart
method_call_on_object_test.dart
mock_test.dart
no_library_annotation_test.dart
null_test.dart
operator_static_test.dart [dart:js_interop] Disallow external operators using static interop 2023-05-22 21:50:51 +00:00
parameters_test.dart
prototype_access_test.dart
trust_types_annotation_test.dart
trust_types_test.dart