22833d51da
Adds a stackTrace helper that returns a stringified StackTrace for an arbitrary error. Removes importLibrary references in test_runner now that we have that and removes some calls that didn't do anything (addAsyncCallback, removeAsyncCallback, and startRootIsolate). addAsyncCallback and removeAsyncCallback are also removed from the runtime. Calling these were removed in https://github.com/dart-lang/sdk/commit/8bd3690ab06c3eda2f4996ca60b94fdcc9f76105 so this is just finishing up the clean-up. Change-Id: I9dacc2b3fd3e27468061d6e59a3207eecdb7cac8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/393800 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Bob Nystrom <rnystrom@google.com>