Commit graph

8 commits

Author SHA1 Message Date
Sigmund Cherem f460a8706d Add implementation of Isolate.resolvePackageUri for dart2js.
This uses 'packages/' as the default base to resolve uris from, but also exposes
a hook to allow users to overwrite it.

BUG= https://github.com/dart-lang/sdk/issues/25594
R=het@google.com, lrn@google.com

Review URL: https://codereview.chromium.org/2495383003 .
2016-11-14 15:11:49 -08:00
asiva@google.com ddb56280a2 Added a test for issue 12474.
R=vsm@google.com

Review URL: https://codereview.chromium.org//943503004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43929 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-20 21:09:43 +00:00
kevmoo@google.com 5952d7a067 Upgrading tests with unittest deprecations
R=ricow@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//218273002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34569 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 18:33:18 +00:00
lrn@google.com d4394ccdc1 Make isolate tests work on drt (and hopefully dartium).
The current isolate tests don't work in drt/dartium because the
DOM isolate can't use Isolate.spawnFunction.

To avoid this problem, this change makes the affected tests start out
by doing an Isolate.spawnUri with their own main file, therevy running the test
in a non-DOM isolate. The test results are propagated back to the original
isolate.

I haven't been able to test dartium yet. I might be missing Selenium.

BUG= http://dartbug.com/14626
R=floitsch@google.com

Review URL: https://codereview.chromium.org//70103014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30610 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 08:19:53 +00:00
floitsch@google.com ecb4291d96 Remove deprecated second argument to SendPort.send().
R=ajohnsen@google.com

Review URL: https://codereview.chromium.org//51393004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29836 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 19:01:11 +00:00
floitsch@google.com 5375bc79ad Remove SendPortSync and ReceivePortSync.
R=vsm@google.com

Review URL: https://codereview.chromium.org//56153005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29778 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 23:13:21 +00:00
floitsch@google.com 6a72655d1b Very simple version of Isolates.
R=ajohnsen@google.com, iposva@google.com, kasperl@google.com, lrn@google.com

Review URL: https://codereview.chromium.org//27215002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29271 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 19:23:00 +00:00
sgjesse@google.com db24c54987 Cleanup of isolate.status (first step)
R=ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//23368003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26506 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 07:35:25 +00:00