149db7eced
By initializing `location.href` in the commandline JS runners we allow programs running in D8 to use `Uri.base` (which depends on `location.href`). That in return will allow running some Dart programs in D8 that would otherwise not run (e.g. code using `package:test/test.dart` - which uses `Uri.base`) TEST=tests/web/wasm/location_href_test.dart Change-Id: Ie219f8d9ece3b92f2442200539557f116d2c84ab Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363700 Reviewed-by: Ömer Ağacan <omersa@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.