Commit Graph

4 Commits

Author SHA1 Message Date
lrn@google.com ec976dda46 Allow sending static/top-level functions through ports and as isolate
initialization messages.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40535 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 08:29:45 +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
rmacnak@google.com 81af1a5ea1 Raise an exception instead of crashing when attempting to pass a MirrorReference between isolates.
Fix warnings in isolate illegal values tests.

BUG=http://dartbug.com/14584
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29694 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 20:36:32 +00:00