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

Unified Diff: tests/standalone/io/platform_test.dart

Issue 35393003: Retain script path of parent isolate when spawnFunction is called so that (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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 | « runtime/vm/isolate.cc ('k') | tests/standalone/issue14236_source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/platform_test.dart
===================================================================
--- tests/standalone/io/platform_test.dart (revision 29176)
+++ tests/standalone/io/platform_test.dart (working copy)
@@ -65,7 +65,9 @@
.then((results) {
Expect.equals(Platform.executable, results[0]);
Uri uri = Uri.parse(results[1]);
- Expect.equals("file", uri.scheme);
+ // SpawnFunction retains the script url of the parent which in this
+ // case was a relative path.
+ Expect.equals("", uri.scheme);
Expect.isTrue(uri.path.endsWith('tests/standalone/io/platform_test.dart'));
Expect.equals(Platform.packageRoot, results[2]);
Expect.listEquals(Platform.executableArguments, results[3]);
« no previous file with comments | « runtime/vm/isolate.cc ('k') | tests/standalone/issue14236_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698