dart-sdk/tests/lib/js
Srujan Gaddam 6929718456 [pkg:js] Handle null value in promise rejection
Closes https://github.com/dart-lang/sdk/issues/44602

Creates an exception to signal a `null`/`undefined` value when a
converted promise is rejected with `null`/`undefined`.

Change-Id: Ic7f14e23c6c1d51d6dbcc5831ffa8491418a4267
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192046
Commit-Queue: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-03-25 01:30:23 +00:00
..
extends_test [package:js] Add/modify tests for JS interop subtyping 2020-11-11 19:28:13 +00:00
js_util [pkg:js] Handle null value in promise rejection 2021-03-25 01:30:23 +00:00
native_as_js_classes_static_test [pkg:js] Language version @Native/@JS class conflict check 2021-02-05 00:23:42 +00:00
array_test.dart Migrate lib_2/js to NNBD. 2019-12-17 20:28:14 +00:00
constructor_parameters_static_test.dart [package:js] Remove stale TODOs from static error tests 2020-08-19 22:04:58 +00:00
datetime_roundtrip_test.dart Migrate lib_2/js to NNBD. 2019-12-17 20:28:14 +00:00
extends_static_test.dart [package:js] Add static errors for invalid extends 2020-10-28 16:04:15 +00:00
external_member_static_test.dart [package:js] Add checks for external keyword 2020-09-25 23:30:34 +00:00
external_nonjs_static_test.dart [package:js] Added checks for external non-JS members. 2021-02-03 02:14:18 +00:00
external_static_test.dart [package:js] Added checks for external non-JS members. 2021-02-03 02:14:18 +00:00
implements_static_test.dart [pkg:js] Add tests for classes that implement JS interfaces 2020-11-18 01:22:39 +00:00
instanceof_test.dart [ddc, dart2js] Fix signature of js_util APIs expecting a constructor. 2020-04-03 04:54:56 +00:00
is_check_and_as_cast_test.dart [ddc] Change is checks for JS types 2020-12-10 01:38:26 +00:00
js_annotation_static_test.dart [package:js] Remove stale TODOs from static error tests 2020-08-19 22:04:58 +00:00
method_call_on_object_test.dart [ddc] Fix method call on object without prototype 2020-07-31 01:29:44 +00:00
mock_test.dart Change js_mock_test to not use native types 2020-12-10 01:38:26 +00:00
no_library_annotation_test.dart [ddc] Do not require a @JS annotation at the library level. 2021-01-20 22:11:23 +00:00
null_test.dart use old function syntax on null_test 2020-01-17 01:49:35 +00:00
parameters_static_test.dart [package:js] Remove stale TODOs from static error tests 2020-08-19 22:04:58 +00:00
parameters_test.dart [package:js] Add JS test for function parameters 2020-05-28 00:00:04 +00:00
prototype_access_test.dart Migrate lib_2/js to NNBD. 2019-12-17 20:28:14 +00:00
subtyping_test.dart [package:js] Add/modify tests for JS interop subtyping 2020-11-11 19:28:13 +00:00