Commit Graph

333 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
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 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
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
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 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 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
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 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 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 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
lrn@google.com e9ec0d7082 Update expectation for unittest test that uses non-zero timer.
Review URL: https://codereview.chromium.org//235203002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34973 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 13:47:34 +00:00
lrn@google.com 2ab1f1238f Trying to make preamble for d8.
Preamble handles timers and task queue.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34967 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 10:29:06 +00:00
lrn@google.com 19bcddfc6b Add Isolate.kill().
This sends a kill signal to the isolate, which is allowed to terminate
the isolate as soon as possible, and at the latest before the next event.

R=ajohnsen@google.com, floitsch@google.com, sgjesse@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34960 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 07:22:48 +00:00
karlklose@google.com e6cd701ee6 Mark isolate/spawn_uri_multi_test as passing on CSP.
R=herhut@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34725 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 08:05:56 +00:00
johnniwinther@google.com c3e1ed3766 Update csp status.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34687 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 08:58:26 +00:00
zra@google.com 2fe51715e5 Begins work on ARM64, first assembler test.
Most new code is in constants_arm64.h and
{assembler,disassembler,simulator}_arm64.{h,cc}

The rest of the CL just #def's out tests, modifies status files,
and adds UNIMPLEMENTED functions, etc.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34654 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 17:39:32 +00:00
lrn@google.com b81c6a25f5 Revert "Add Isolate.kill()."
Either ping or kill tests fail in some cases.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34247 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-21 13:20:51 +00:00
lrn@google.com ac43cac578 Add Isolate.kill().
This sends a kill signal to the isolate, which is allowed to terminate
the isolate as soon as possible, and at the latest before the next event.

R=ajohnsen@google.com, floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34234 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-21 08:56:03 +00:00
whesse@google.com 005f2f49af Supress isolate/mandel_isolate_test on debug Mips - it takes 600 MB.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33654 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-13 16:24:37 +00:00
lrn@google.com 1a35b1799d Update expectations after landing Isolate.ping.
Forgot to mark VM as failing due to not implementing it yet.
Dart2js mirrors_used_test grows unexplainably.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33373 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 13:33:35 +00:00