Commit Graph

449 Commits

Author SHA1 Message Date
iposva@google.com 714c789c19 Fix build:
- Disable test using spawnUri where appropriate.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43085 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-22 22:34:30 +00:00
iposva@google.com fc044a7294 Fix http://dartbug.com/22115
- Make sure to lookup main in re-exported namespaces too.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43078 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-22 21:28:27 +00:00
whesse@google.com 247ff772d6 Update status files, replace "dartbug.com" with "Issue ".
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42900 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 10:27:11 +00:00
asiva@google.com 513ef5ccd5 Add missing file (missed it in last round).
Review URL: https://codereview.chromium.org//846903003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42796 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-12 23:35:55 +00:00
asiva@google.com ca1c3241c4 Fix for issue 21398.
Accept only 'literal-like' objects when sending messages to isolates
spawned using spawnURI. Allow all objects for isolates spawned using
spawnFunction.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42793 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-12 23:14:30 +00:00
iposva@google.com 350c812a9e - Mark spawnFunction based test as failing on Dartium.
Review URL: https://codereview.chromium.org//834643003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42579 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-31 00:46:11 +00:00
iposva@google.com fd69128004 - Allow an isolate to be started in paused state.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42576 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-30 23:52:37 +00:00
nweiz@google.com b0009de0d6 Re-apply "Remove unittest and matcher from the repo."
This was originally submitted as r42497 and reverted by r42498. This CL fixes
the failing isolate test, and https://codereview.chromium.org/814883003/ fixes
the Dartium and Standalone issues.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42524 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-19 21:14:56 +00:00
lrn@google.com 7f0009ac5b Mark isolate/isolate_current_test as failing on Dartium.
Dartium doesn't support Isolate.spawn.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42503 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-19 09:28:46 +00:00
lrn@google.com cf724d70a9 Add Isolate.current getter, returning the current isolate as an Isolate object.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42499 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-19 07:04:29 +00:00
floitsch@google.com a5f3c39b21 Isolates: allow sending of arbitrary objects in dart2js.
BUG= http://dartbug.com/12628
BUG= http://dartbug.com/9245
R=lrn@google.com, sigurdm@google.com, sra@google.com

Committed: https://code.google.com/p/dart/source/detail?r=42161
Reverted: https://code.google.com/p/dart/source/detail?r=42206

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42209 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 16:41:58 +00:00
floitsch@google.com 67dff7ca30 Revert "Isolates: allow sending of arbitrary objects in dart2js."
This reverts commit r42161.

Revert "Update status file."

This reverts commit r42163.

Revert "Update test."

This reverts commit r42165.

Revert "Update status file."

This reverts commit r42166.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42206 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 13:25:23 +00:00
iposva@google.com 602aad28a1 - Implement Isolate.ping.
- Allow isolate library messages to be enqueued at the beginning
  of the message queue.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42193 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 22:45:10 +00:00
floitsch@google.com 11d93b2ec6 Update status file.
Review URL: https://codereview.chromium.org//784933002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42166 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 16:10:39 +00:00
floitsch@google.com dc062cc0e1 Update test.
Now that dart2js can send arbitrary objects, this test went through a different route, where it encountered non-zero timers. These are not supported for jsshell.

I rewrote the test not to use a timer, but wait for a reply from the spawned isolate instead.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42165 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 14:13:57 +00:00
floitsch@google.com 398fecf429 Update status file.
Review URL: https://codereview.chromium.org//785963002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42163 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 14:04:24 +00:00
floitsch@google.com c115b77640 Isolates: allow sending of arbitrary objects in dart2js.
BUG= http://dartbug.com/12628
BUG= http://dartbug.com/9245
R=lrn@google.com, sigurdm@google.com, sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42161 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 13:28:29 +00:00
iposva@google.com 320ffa23a1 - Implement hashCode and == for Capability.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42102 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 12:17:48 +00:00
ajohnsen@google.com 0491f4e887 Per isolate package root.
BUG=
R=iposva@google.com, ricow@google.com, sgjesse@google.com, turnidge@google.com

Committed: https://code.google.com/p/dart/source/detail?r=40534

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40581 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-23 05:46:14 +00:00
ajohnsen@google.com 38619425c2 Revert "Per isolate package root."
Revert "Fix test in checked mode."

The Dartium branch is locked atm, making it impossible to land this and have green Dartium bots.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40540 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 11:13:28 +00:00
lrn@google.com f73b1c61e0 Update test so it doens't leave isolates hanging.
This caused timeouts on Firefox.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40539 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 09:47:24 +00:00
lrn@google.com 77fec05f3d Fix typo in status-file.
Review URL: https://codereview.chromium.org//593623003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40538 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 09:19:21 +00:00
ajohnsen@google.com 14d0785abc Fix test in checked mode.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40536 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 08:48:21 +00:00
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
ajohnsen@google.com a058d07806 Per isolate package root.
BUG=
R=iposva@google.com, sgjesse@google.com, turnidge@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40534 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 08:07:06 +00:00
ricow@google.com df319447f1 Remove suppressions for ie9
R=blois@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40201 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 06:01:14 +00:00
ricow@google.com c0a1581a68 Fix suppression prefix
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39852 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 08:22:51 +00:00
ricow@google.com 83cd6b2ac2 Mark isolate/compile_time_error_test/none slow on mobile safari
Review URL: https://codereview.chromium.org//544543002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39851 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 07:52:08 +00:00
iposva@google.com 9fa3af0b08 - Correct the conditions under which Dartium does not properly implement
the isolate library API.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37988 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-03 16:40:01 +00:00
iposva@google.com f8419248fb - Disable isolate pause test on Dartium.
Review URL: https://codereview.chromium.org//365063004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37985 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-03 13:38:41 +00:00
iposva@google.com 5686b6a793 - Implement Isolate.pause and Isolate.resume.
- Implement a minimum Capability functionality.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37982 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-03 12:56:02 +00:00
whesse@google.com 5720b9be2c Update Android content_shell test status.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37944 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-02 12:29:07 +00:00
whesse@google.com c68a75e963 Update test status for ContentShellOnAndroid
Skipped two more timing-out tests.  Merged two issues, alphabetized a status file section.

BUG=dartbug.com/19127
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37165 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-10 07:23:22 +00:00
whesse@google.com 56e8555efd Mark failing android content_shell tests in status files.
BUG=dartbug.com/19276 dartbug.com/19274
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37079 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-06 13:37:19 +00:00
lrn@google.com 01897bf44d Revert "Ensure that failure to start an isolate all end up in the future."
Review URL: https://codereview.chromium.org//312123002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36986 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-04 09:40:29 +00:00
lrn@google.com c2aa45f121 Ensure that failure to start an isolate all end up in the future.
Isolate.spawnUri can fail in many ways.
Any problem that prevents calling "main" on a loaded isolate
should end up as IsolateSpawnException in the future returned by
Isolate.spawnUri.

This CL ensures that failure to look up main is handled correctly,
and adds more tests.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36982 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-04 08:42:39 +00:00
whesse@google.com 512ef6b6c8 Update status files with ContentShellOnAndroid failures.
BUG=dartbug.com/19127
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36867 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-02 11:40:06 +00:00
ahe@google.com 6fd9abdbdf Status applies to drt as well
Review URL: https://codereview.chromium.org//297183009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36677 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 13:35:27 +00:00
ahe@google.com 1f30b8b82e Tweak isolate/spawn_uri_missing*test.dart
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36676 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 13:32:20 +00:00
ahe@google.com c5a9af1d62 Send data with 404 response
The primary reason is to work around http://dartbug.com/19024, but this is not a hack or temporary code.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36675 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 13:30:49 +00:00
ahe@google.com 0b46a73996 Update Dartium status file
Review URL: https://codereview.chromium.org//307483003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36664 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 11:09:05 +00:00
ahe@google.com 35c729d9d9 Close port to avoid test hanging.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36661 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 10:15:18 +00:00
ahe@google.com 0bd2318692 Complete with error if Worker fails.
R=floitsch@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36657 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 09:32:53 +00:00
lrn@google.com 8e82e840e0 Make methods on isolate external.
R=iposva@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36642 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 06:14:13 +00:00
lrn@google.com 9d5fb7e12f Dart2js: Fix object leaking between isolates.
BUG= http://dartbug.com/18942
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36484 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-22 11:09:37 +00:00
lrn@google.com 9f148a73c5 Remove isolate_throws_test.
It assumes that an exception in an isolate terminates the program. That is not the case, so it has status-file exceptions on all platforms.

May be related to http://dartbug.com/12587

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36291 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 11:52:25 +00:00
lrn@google.com 08fbb2dde8 Add an error listener on isolates.
While any error listener is attached to an isolate, uncaught errors are reported to the listener through his supplied sendPort.

The current format for the error is
  [error.toString(), stack == null ? null : stack.toString()]
This is wrapped on the receiving side.

The isolate exposes the errors as a broadcast stream of error events.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36290 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 10:55:08 +00:00
zra@google.com eb11b8a7a0 Adds far-branches to arm64.
Also fixes bugs and enables tests.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36051 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-12 18:43:08 +00:00
fschneider@google.com 50a04c417b Fix issue 18665. Avoid exposing a null-ptr in Function's code field.
The code field has to be initialized before any GC can happen.

BUG=dartbug.com/18665
TEST=isolate/mandel_isolate_test
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36018 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-12 09:15:37 +00:00
ricow@google.com 3128531865 Status file updates to make the tree green.
Mark try/end_to_end_test as Fail, Timeout, updated issue 17935

Mark isolate/mandel_isolate_test Crash, Pass on simarm debug, filed issue 18670

Mark pkg/polymer/test/attr_mustache_test as CompileTimeError on dart2js on browsers (we skip this on command line vms already) - this happened after revision 35811 - filed issue 18667

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35841 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-07 06:27:52 +00:00