Commit Graph

2071 Commits

Author SHA1 Message Date
herhut@google.com f19447b972 Fix status files after jsshell update.
BUG=
R=floitsch@google.com
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44289 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-06 13:40:51 +00:00
koda@google.com 6c11104a31 Update enum mirror test expectation to include hashCode.
TBR=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44279 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-06 04:31:08 +00:00
karlklose@google.com 79042cac68 Mark async/timer_regress22626_test as failing on dart2js-jsshell.
R=sigurdm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44228 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-04 13:20:00 +00:00
iposva@google.com 4b1ba9eb69 - Make sure we schedule another wakeup when handling a timeout
from the event handler.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44191 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-03 19:14:30 +00:00
zarah@google.com 0c6213e97e dart2js: don't emit unneeded native info.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44164 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-03 11:18:40 +00:00
terry@google.com ec66fa460b Updated to match 39 roll
Reviewers=paulberry@google.com,asiva@google.com
BUG=22623
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44139 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-02 19:00:24 +00:00
paulberry@google.com 7398f49c3c Update status file for bug 22623
TBR=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44129 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-02 14:54:47 +00:00
rmacnak@google.com 8b6a6a1e4f Add ClassMirror.isEnum.
BUG=http://dartbug.com/21718
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44035 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-26 01:13:50 +00:00
kevmoo@google.com be8aca929d Move more tests to SkipByDesign
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43977 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-23 21:31:12 +00:00
lrn@google.com 1f6d0e4f86 Make synchronous broadcast StreamController throw if adding event while adding event.
It already throws if there is more than one listener, but this change
also makes it throw if there is only one listener, for consistency.

Also add SynchronousStreamController abstract class.
It only contains documentation for synchronous stream controllers.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43946 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-23 10:36:58 +00:00
nweiz@google.com c8de060c54 Revert "Revert "Use native async/await support in pub.""
The VM now fully supports all the weird async stuff pub is doing, and all the
tests pass with native async/await!

Previous CLs were r43484 and r43483.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43897 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-19 22:28:54 +00:00
rmacnak@google.com 3858e8fc50 Classify mirror tests skipped on the VM.
R=kevmoo@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43862 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-19 01:14:19 +00:00
rmacnak@google.com 4abf50c04d Add LibraryDependencyMirror.isDeferred.
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43829 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-17 23:49:40 +00:00
kevmoo@google.com 4cc4e28411 status files: trying out new SkipSlow flag
and selectively used SkipByDesign in more places

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43815 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-17 17:21:39 +00:00
rmacnak@google.com 511c997316 Implement DeclarationMirror.location for all but ParameterMirrors.
- Mark NativeFieldWrapper classes as synthetic.
- Mark ClassID fields as synthetic.

BUG=http://dartbug.com/22378
R=gbracha@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43784 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-13 23:32:20 +00:00
paulberry@google.com 4a5680aec8 Visit async and core library dependencies when computing library cycles.
Previously, we would create the Library objects for the core and async
libraries before calling _computeLibraryDependencies().  As a result,
_computeLibraryDependencies() would skip those libraries when
computing dependencies.  Normally this was not a problem, because the
dependencies surrounding the core and async libraries are so richly
intertwined that all of the necessary files got included in the cycle
anyhow.  However if the starting point of analysis was the
"dart:async" library, some files would be missed entirely, leading to
bogus warnings.

The solution is to let _computeLibraryDependencies() create all the
Library objects, even for the core and async libraries; this way it
won't skip any dependencies.

BUG=dartbug.com/22415
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43772 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-13 18:52:39 +00:00
karlklose@google.com 308b2c4a68 Mark test as failing.
R=sigurdm@google.com
BUG= http://dartbug.com/22415

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43761 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-13 14:58:09 +00:00
lrn@google.com 34cc8411a3 Fix behavior when listening multiple times to a broadcast take/skip stream.
Turns out the existing behavior was badly broken.
A broadcastStream.take(10) would only produce ten events total, no matter how
many listeners were attached, beacuse the counter was on the stream, not the
subscription.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43755 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-13 13:59:41 +00:00
koda@google.com 8c24d57e15 Update test status for slow ASAN bot.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43664 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 19:58:35 +00:00
kustermann@google.com a9962948d6 Mark async/timer_isActive_test as flaky on dartium
R=ricow@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43648 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 14:36:05 +00:00
rmacnak@google.com 63bba8d603 Blacklist Process.killPid in invocation_fuzzer_test.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43491 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 23:50:58 +00:00
nweiz@google.com bbe0d9325c Revert "Use native async/await support in pub."
This caused SDK compilation issues that may have obscured pub test failures as
well.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43484 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 21:15:44 +00:00
nweiz@google.com 1835c63d0a Use native async/await support in pub.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43483 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 20:45:49 +00:00
sigurdm@google.com a636a3c5a2 Change timer delay to 0 to make jsshell happy.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43464 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 12:11:40 +00:00
sigurdm@google.com 0187b8144a Avoid crashing when a closed StreamIterator is cancelled
BUG=
R=floitsch@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43460 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 11:23:27 +00:00
sra@google.com 452d90acdd Mark mirrors/mirrors_reader_test as Crash on jsshell
Dies on the bots with 10GB heap

TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43089 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-22 23:27:09 +00:00
nweiz@google.com b8d1c3a8b7 Regenerate pub's sources and remove workarounds for fixed issues.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43057 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-22 01:07:38 +00:00
rmacnak@google.com 2fb0bb020b Reapply "Mark all private functions in dart: libraries as invisible (*sniff*). Previously these functions were only marked invisible if they were also native, a constructor, or on a black list."
Broken assumption in Dartium fixed in blink r188698.

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43053 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-21 20:44:04 +00:00
rmacnak@google.com ed88ac7f0c Revert "Mark all private functions in dart: libraries as invisible (*sniff*). Previously these functions were only marked invisible if they were also native, a constructor, or on a black list."
Broke Dartium.

TBR=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43026 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-20 20:56:59 +00:00
rmacnak@google.com 045bd762d7 Mark all private functions in dart: libraries as invisible (*sniff*). Previously these functions were only marked invisible if they were also native, a constructor, or on a black list.
An invisible function is hidden from stack traces, will not be enumerated
by mirrors, and cannot be directly invoked by mirrors. Note that private
classes remain accessible.

Fix a few internal dart:io functions that should be private.

Fix bug where mirrors would enumerate top-level invisible functions.

Mark observatory test that was using such private functions through
mirrors as failing.

BUG=http://dartbug.com/15274
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43019 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-20 18:32:19 +00:00
sigurdm@google.com b9c1798175 Improve mirror_in_static_init_test
Make it a multitest.
Fix a syntax error.
Also move it to lib/mirrors/ - it will then automatically be skipped by
dart2dart.

BUG=dartbug.com/22071
R=floitsch@google.com, karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42992 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-19 14:52:25 +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
nweiz@google.com c951660859 Don't analyze pub's command_runner library.
This works around https://github.com/dart-lang/async_await/issues/77.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42893 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 01:28:02 +00:00
whesse@google.com a0c609991c Update co19 status.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42811 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-13 15:35:06 +00:00
whesse@google.com ca69477f4e Update co19 status and timing-out tests.
BUG=dartbug.com/22050
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42803 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-13 12:24:30 +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
whesse@google.com 1a92824c85 Update co19 status on firefox and chrome.
Update status for two timing out tests, and co19 on Android.

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42782 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-12 17:51:08 +00:00
regis@google.com 03fa3d1ff4 Mark mutator methods of canonical constants as invisible to reflective access.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42747 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-09 18:03:31 +00:00
lrn@google.com 3a66c29a6d Add cleanUp function to Future.wait.
The cleanUp function is called on the values of successful futures,
so it can release any resources that were successfully allocated.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42730 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-09 10:52:15 +00:00
iposva@google.com 2104fd6165 Fix http://dartbug.com/21834
- Ensure that microtasks fire after every timer event, instead
  of being bunched together once all pending timers fired.
- Do not wait for timer message to be delivered. Trigger timers
  as soon as they are ready from within the message handling
  loop.
- Notify timers in the order of wakeup time regardless of
  specified timeout value. (AKA Do not allow Timer.run to
  overtake new Timer() scheduled operations.)

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42673 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-07 22:21:59 +00:00
regis@google.com cc843c2189 Process two 32-bit digits as one 64-bit digit in all bigint intrinsics on x64.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42607 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-05 19:44:02 +00:00
koda@google.com 56defa8060 Write-barrier verification on ARM.
Add and use methods on Assembler for writing and verifying object fields.
Enable tests in verified_mem mode for simarm.
Also generalize and use InitializeFieldsNoBarrierUnrolled in one more place.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42208 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 16:15:33 +00:00
regis@google.com e20569cf8b Reenable a few previously slow tests on MIPS.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42141 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 19:32:39 +00:00
rmacnak@google.com 9bdff93aa9 Re-blacklist SystemEncoding: still failing on Windows.
BUG=http://dartbug.com/15274
TBR=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42095 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 00:09:42 +00:00
rmacnak@google.com dd3c1fa32e Remove several entries from invocation fuzzer blacklist.
Add event loop, isolate startup, and symbol helper functions to the invisible list.

Include doubles as a target.

BUG=http://dartbug.com/15274
BUG=http://dartbug.com/20583
BUG=http://dartbug.com/21707
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42092 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-03 22:08:32 +00:00
fschneider@google.com a49870e721 VM: Remove use of IterableMixinWorkaround from _List, _ImmutableList and _GrowableList.
_List, _ImmutableList and _GrowableList now extend ListBase which uses ListMixin.

Note that typed data lists are still using IterableMixinWorkaround for now.
They will be changed in a separate CL since it involves a few more changes
to the VM.

BUG=dartbug.com/13647
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42061 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-02 10:38:51 +00:00
rmacnak@google.com 5aff08b9ef Skip more of event loop dispatch in invocation fuzzer to avoid triggering runtime errors we cannot catch.
BUG=http://dartbug.com/21473
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42054 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 22:56:31 +00:00
whesse@google.com 0cda682b96 Update status for html and lib tests.
BUG=dartbug.com/21710
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41954 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 14:41:42 +00:00
ricow@google.com 9fe428f545 Fix suppression reorg from revision 41945.
I did not take the multitest selector into account

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41947 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 08:46:11 +00:00
ricow@google.com 1c6f7eeeca Supress flaky test, lib/mirrors/invocation_fuzz_test/string, on mac debug
Additionally, simplify existing supression on javascript command line engines.

Filed issue 21707 to track the flaky test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41945 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 07:59:06 +00:00