dart-sdk/tools
Srujan Gaddam f7e0859415 [dart:html] Return null for cancel in weak mode
Bug: https://github.com/dart-lang/sdk/issues/41653

Since StreamSubscription.cancel now returns a non-nullable Future,
EventStreamSubscription.cancel checks for strong mode and returns null
in weak mode and a void future in strong mode. This preserves synchronous
behavior in weak mode.

Change-Id: Ifc7a6b565e99061d30e42a005bdd5fc3578b0e91
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/146680
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
2020-05-05 22:57:46 +00:00
..
abiversions
android
apps/update_homebrew [homebrew] Modify the version string when updating the version 2020-04-03 10:32:34 +00:00
bots [infra] Add gen_snapshot target to cross arm AOT builder 2020-05-04 11:08:13 +00:00
buildtools
dart2js
dom [dart:html] Return null for cancel in weak mode 2020-05-05 22:57:46 +00:00
gardening Treat the expect and async_helper packages as opted in to NNBD. 2020-04-27 21:04:56 +00:00
linux_dist_support/debian [SDK] Removes dart2aot. 2019-10-15 17:53:38 +00:00
migration Migrate language_2/function_subtype to NNBD. 2020-05-05 16:52:30 +00:00
patches [vm] Require only an isolate group, not an isolate, in Dart_Delete[Weak]PersistentHandle. 2020-03-04 18:56:16 +00:00
sdks [release] Update checked-in SDKs to 2.9.0-4.0.dev 2020-04-28 14:20:48 +00:00
spec_parser Change null-aware operator [], operator []=, and function call to not have a period. 2020-01-22 10:18:26 +00:00
test_generators Migrate language_2/async_nested to NNBD. 2020-02-12 20:46:37 +00:00
testing
.gitignore
3xhead_flutter_hooks.sh
addlatexhash.dart [tools] Fix addlatexhash.dart in NNBD mode 2020-03-23 19:47:52 +00:00
archive_crash.py
build.py Revert "[BUILD] - Initial CL to unfork the NNBD Dart SDK" 2020-04-27 05:00:10 +00:00
canary.dart
clean_output_directory.py
copy_dart.py Copy dart:html files to sdk_nnbd automatically and opt out 2019-11-06 23:59:33 +00:00
copy_tree.py
create_debian_chroot.sh [beta] Support the beta channel in SDK scripts 2020-03-19 07:49:38 +00:00
create_debian_packages.py
create_pkg_manifest.py
create_tarball.py
create_timestamp_file.py
diff_results.dart [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
download_abi_dills.py
download_chromium_sysroot.sh
download_latest_dev_sdk.py
execute_recorded_testcases.py
experimental_features.yaml [release] Bump version to 2.9 2020-04-15 18:36:42 +00:00
FAKE_COMMITS [gardening] Confirm all neccessary approvals were granted. 2020-04-17 02:37:34 +00:00
find_depot_tools.py
gen_fuchsia_test_manifest.py
generate_buildfiles.py [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
generate_idefiles.py [tools] Update generate_idefiles.py to exclude analyzing sdk_nnbd 2019-09-26 17:31:50 +00:00
generate_package_config.dart Opt package:meta in to null safety. 2020-04-28 03:54:48 +00:00
gn.py Revert "[BUILD] - Initial CL to unfork the NNBD Dart SDK" 2020-04-27 05:00:10 +00:00
gn_helpers.py
line_doc_comments.dart
list_dart_files.py Fix list_files.py so it is python3-compatible. 2020-02-15 00:12:50 +00:00
list_files.py Fix list_files.py so it is python3-compatible. 2020-02-15 00:12:50 +00:00
make_bundle_unittest.py
make_version.py [vm] Add the channel name to the VM/dart:io version string 2020-03-23 10:00:03 +00:00
minidump.py
only_in_release_mode.py
presubmit.sh
promote.py [infra] Add support for the beta channel to promote.py 2020-03-13 10:53:26 +00:00
publish_pkg.py
revert.py
run_abi_tests.py [gardening] Add and pass missing parameter in ABI test runner. 2020-04-28 09:31:18 +00:00
run_debian_build.sh
run_offsets_extractor.sh [vm] Update offsets 2020-01-27 15:59:56 +00:00
safari_factory_reset.py
set_ia32_sysroot.sh
set_x64_sysroot.sh
spec_parse.py
task_kill.py
test.dart [infra] Handle test steps with no tested configuration 2020-03-27 07:09:37 +00:00
test.py
upload_abi_dills.sh
utils.py Revert "[BUILD] - Initial CL to unfork the NNBD Dart SDK" 2020-04-27 05:00:10 +00:00
VERSION [vm] Bump ABI version 2020-05-05 20:33:38 +00:00
write_dartdoc_options_file.py
write_revision_file.py
write_version_file.py
yaml2json.dart
yaml2json.py