04e2482696
Bug: https://github.com/dart-lang/sdk/issues/42536 Adds null checks on `JS()` invocations in dart:html and related libraries if the static type is non-nullable. Renames option to enable this to be consistent with DDC and adds tests. Change-Id: Ia8c170cf0e1e4135966f36b25a83ec62becad701 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/163210 Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>