dart-sdk/tools/dom
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
..
docs Fix example statusText 2019-08-13 19:58:12 +00:00
idl/dart [dart:html] Add nullability to node signature 2020-04-23 04:56:28 +00:00
new_scripts Mass format python with yapf 2019-08-05 20:34:31 +00:00
nnbd_src [dart:html] Return null for cancel in weak mode 2020-05-05 22:57:46 +00:00
scripts [dart:html] Add nullability to node signature 2020-04-23 04:56:28 +00:00
src [dart:html] Remove nullability from CssClassSet funcs 2020-04-02 19:29:09 +00:00
templates [dart:html] Modify createFragment to take nullable html str 2020-04-30 16:50:52 +00:00
.gitignore Moved most of html lib generating scripts into tools. 2012-12-28 22:26:48 +00:00
dom.json Fixed a number of dart:html P1 issues. 2019-01-15 17:21:50 +00:00
dom.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
PRESUBMIT.py Mass format python with yapf 2019-08-05 20:34:31 +00:00