Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1977)

Unified Diff: tests/isolate/resolve_package_uri_test.dart

Issue 2977583002: Fix handling of async patches. (Closed)
Patch Set: Fix Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/isolate_patch.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/resolve_package_uri_test.dart
diff --git a/tests/isolate/resolve_package_uri_test.dart b/tests/isolate/resolve_package_uri_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..7aa387a9cb64c17b6c5a8b099e8df0f19f5b74f8
--- /dev/null
+++ b/tests/isolate/resolve_package_uri_test.dart
@@ -0,0 +1,14 @@
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// Regression test for faulty encoding of `Isolate.resolvePackageUri` by
+// dart2js.
+
+import 'dart:async';
+import 'dart:isolate';
+
+main() {
+ Future<Uri> uri = Isolate.resolvePackageUri(Uri.parse('memory:main.dart'));
+ print(uri);
+}
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/isolate_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698