9f10a3bc16
Also cleans up and unifies some behavior across the backends: - avoiding reinstantiating JsInteropChecks for every library - having the native classes as a member instead of recomputing on dart2js Now that these checks exist, we can add lib/js/static_interop_test to the test directories the wasm trybot runs. Change-Id: I912aae988afe7915e80cc13d00b8c47818dfa520 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/255760 Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Joshua Litt <joshualitt@google.com> Reviewed-by: William Hesse <whesse@google.com>