dart-sdk/tests/lib
Srujan Gaddam e1834792c3 [dart:js_interop] Fix comparison operator return types
Fixes https://github.com/dart-lang/sdk/issues/55024

The patch files for these operators return a bool, whereas
the public API returns a JSBoolean. Since there's only one
possible return type, we should make them return bool for
convenience. Boolean conversion is also inexpensive on
dart2wasm, so that shouldn't be an issue.

Also adds helpers to operator_test to make sure any JS values
are converted before they're compared, adding additional type
checking through the conversion.

CoreLibraryReviewExempt: Fixes type mismatch in backend-specific library.
Change-Id: I7ff2e334e817e6e7d7d8d5091a4e5d570a496b03
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/354702
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
2024-03-04 21:10:02 +00:00
..
analyzer Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
async Add more information to ParalleWaitError.toString. 2024-02-28 20:36:58 +00:00
collection [dart2wasm] Fix off-by-one error in List.insert() 2024-02-08 14:05:44 +00:00
convert [dart2wasm] Fix string array copy in UTF8 decoder 2023-10-24 12:02:48 +00:00
developer [ dart:developer ] Remove Metrics related classes 2023-03-10 16:50:10 +00:00
fix_data_tests Remove deprecated APIs from dart:developer 2022-07-19 07:10:03 +00:00
html [tests] delete html/async_test. 2024-01-22 18:54:04 +00:00
isolate [gardening] Use Platform.lineTerminator in remove_error_listener_test expectations. 2023-11-09 22:54:03 +00:00
js [dart:js_interop] Fix comparison operator return types 2024-03-04 21:10:02 +00:00
js_interop_unsafe [dart:js_interop_unsafe] Add has helper 2024-01-03 01:00:19 +00:00
math Spelling tests 2023-01-19 16:24:29 +00:00
mirrors [vm] Add minimal support for mirrors of extension type members 2023-12-07 21:48:50 +00:00
typed_data Reapply "[typed_data] Deprecate UnmodifiableUint8ListView and friends" 2023-10-23 18:14:33 +00:00
web [web] remove mirrors patch for web compilers. 2020-07-16 00:12:22 +00:00
lib.status [dart2wasm] Implement dart:developer in dart2wasm 2024-02-26 11:23:29 +00:00
lib_analyzer.status Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
lib_app_jit.status Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
lib_dart2js.status [tests] delete html/async_test. 2024-01-22 18:54:04 +00:00
lib_dartdevc.status [tests] Skip multiple html and co19/html tests. 2023-11-10 01:20:39 +00:00
lib_kernel.status [gardening] Mark all tests as slow in debug-ia32 mode 2022-07-21 10:22:45 +00:00
lib_precompiled.status [testing] Remove --compiler=none from test.py 2022-10-19 08:09:58 +00:00
lib_vm.status [test] Remove ARM64-specific status entries. 2023-10-09 19:30:29 +00:00