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
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
kevmoo@google.com
4283c3e41e
using unittest via package import
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//231413003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34890 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 19:42:11 +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
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
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
4cbaaf5f93
Don't try to infer that the current isolate is executing an event.
...
The inference didn't work in the browser. Instead keep an explicit
bit set.
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//207853003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34244 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-21 10:59:27 +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
lrn@google.com
63c7e14f44
Made SendPort a Capability.
...
Added tests.
R=iposva@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//196983012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34163 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 11:43:54 +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
lrn@google.com
705b67e836
Add Isolate ping functionality.
...
Implement in dart2js.
R=ajohnsen@google.com , floitsch@google.com
Review URL: https://codereview.chromium.org//186403003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33371 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 12:47:20 +00:00
lrn@google.com
327223aeb9
Typo in status file for isolate/ondone_test
...
Review URL: https://codereview.chromium.org//183383010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33270 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 12:59:38 +00:00
lrn@google.com
83c52f2a91
Add Isolate.onExit.
...
Implemented on dart2js.
Tentative design.
Comments welcome.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//179823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33268 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 12:12:51 +00:00
lrn@google.com
b23f5d0327
Add 'startPaused' option to Isolate.spawn*.
...
Initial implementation of startPaused in dart2js.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//163523003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32722 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-17 13:06:06 +00:00