Modify reflective tests to allow setUp and tearDown to return futures.

This will be needed for analysis server integration tests, so that
they can start and stop the server in their setUp and tearDown
methods.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38260 260f80e4-7a28-3924-810f-c04153c831b5
Object ids in snapshots are assigned sequentially, and can in many cases be omitted by the writer and inferred by the reader. The exceptions are the classes that are serialized in two steps (arrays and user-level Dart instances), where the second step must include the id.

For standalone, makes full snapshot 5% smaller, and startup ~1.5% faster when measured on a Nexus 10.

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38261 260f80e4-7a28-3924-810f-c04153c831b5
Add an adapter for analysis server listener implementation convenience.

R=brianwilkerson@google.com, jwren@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38262 260f80e4-7a28-3924-810f-c04153c831b5
Work around a Gyp bug by creating a stamp file for the http package.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38263 260f80e4-7a28-3924-810f-c04153c831b5
vm/observatory: Clean up script access

Addresses issues from https://codereview.chromium.org/346003003/

BUG=
R=hausner@google.com, johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38264 260f80e4-7a28-3924-810f-c04153c831b5
Add a stub_core_libraries package.

This will later be used to support configuration-specific libraries.

R=rnystrom@google.com
BUG=6943

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38265 260f80e4-7a28-3924-810f-c04153c831b5
Bump the code_transformers upper bound constraint on analyzer

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38266 260f80e4-7a28-3924-810f-c04153c831b5
Fix break on unhandled exception

A recent change broke the exception handler lookup code in the debugger.
This fixes issue 19988.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38267 260f80e4-7a28-3924-810f-c04153c831b5
Include 'element' into 'search.findElementReferences' response.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38268 260f80e4-7a28-3924-810f-c04153c831b5
Implementation for 'search.findTopLevelDeclarations' API.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38269 260f80e4-7a28-3924-810f-c04153c831b5
Don't run the stub tests on the browser.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38270 260f80e4-7a28-3924-810f-c04153c831b5
Make the RemoteAnalysisServerImpl more robust by converting null arguments to the appropriate empty collection.

R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38271 260f80e4-7a28-3924-810f-c04153c831b5
Extract 'Mark Occurrences' from the DartEdutor class.

R=danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38272 260f80e4-7a28-3924-810f-c04153c831b5
Fix type in stub_core_library suppression

TBR=nweiz

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38273 260f80e4-7a28-3924-810f-c04153c831b5
Implement scheduleImmediate on Chrome/Drt/Safari/Firefox.

BUG= http://dartbug.com/9002
R=lrn@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38274 260f80e4-7a28-3924-810f-c04153c831b5
Mark tests as slow.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38275 260f80e4-7a28-3924-810f-c04153c831b5
Mark another analysis test as slow.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38276 260f80e4-7a28-3924-810f-c04153c831b5
Mark another analysis test as slow.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38277 260f80e4-7a28-3924-810f-c04153c831b5
Update status file for failing async-test on jsshell.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38278 260f80e4-7a28-3924-810f-c04153c831b5
Audiocontext test is not failing.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38279 260f80e4-7a28-3924-810f-c04153c831b5