You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dart.library.js_util -> dart.library.js_interop for web detection
dart2wasm will no longer support `dart:js_util`, so
`dart.library.js_util` will be insufficient for detecting web backends.
`dart:js_interop` is intended to replace it for the foreseeable future,
so until we have an environment variable that more directly reflects
whether the code is compiled with a web backend, we can use
`dart.library.js_interop`.
Other mentions of `dart.library.js_util` in tests are benign and aren't
designed to detect all web backends specifically.
Bug: #61550
Change-Id: I6a6a69644c3614b3693ad72b546e111217575bfb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/451547
Commit-Queue: Mayank Patke <fishythefish@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
0 commit comments