Commit Graph

1115 Commits

Author SHA1 Message Date
karlklose@google.com 9ebe077ab2 Revert "Try to remove RuntimeError annotations for mirrors_reader_test."
This reverts commit r39856.

TBR=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39858 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 11:11:40 +00:00
karlklose@google.com d467e68881 Try to remove RuntimeError annotations for mirrors_reader_test.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39856 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 10:42:55 +00:00
karlklose@google.com 07b2ccd024 Skip mirrors_reader_test on mobile safari.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39853 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 09:26:14 +00:00
sigurdm@google.com 457c8c33c7 Remove support for the DeferredLibrary annotation and remove tests of it
BUG= 18562
R=floitsch@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39797 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 08:34:34 +00:00
floitsch@google.com 59b78ff5fc Support typedefs in function signatures.
BUG= http://dartbug.com/18938
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39750 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-02 15:53:59 +00:00
floitsch@google.com f1eccb26d3 Fix type-checks for reflective redirection constructors.
R=ahe@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39058 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 22:46:33 +00:00
karlklose@google.com 2e3af11015 Mark test as passing after r38924.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38927 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 11:30:32 +00:00
sigmund@google.com 43b31f88a8 Fix js/null_test to run also in CSP mode
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38909 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-05 21:46:43 +00:00
karlklose@google.com b203f95355 Emit declarations for typedefs that are needed by reflection.
Typedefs are encoded like closure classes, but without a call-method and a superclass.

For example, the typedef `typedef int Foo(String s);` is emitted as:
  Foo: {'^': ':15'},
where `15` is the index into `init.metadata` at which the function type is emitted.

BUG= http://dartbug.com/16939
R=johnniwinther@google.com, floitsch@google.com, herhut@google.com

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

Reverted in https://code.google.com/p/dart/source/detail?r=37848

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

Reverted in https://code.google.com/p/dart/source/detail?r=37940

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38891 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-05 07:18:32 +00:00
ricow@google.com d903b0f9cc Mark lib/js/null_test as failing in csp mode
I have filed issue 20310 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38827 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 08:56:01 +00:00
ricow@google.com 1f62607a46 Mark lib/profiler/metrics_test and lib/profiler/metrics_num_test as failing on the analyzer
I have filed issue 20309 to track this

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38826 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 08:51:08 +00:00
johnmccutchan@google.com cc03602e70 Fix nits on metrics_test
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38818 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 00:57:05 +00:00
johnmccutchan@google.com 21192cd3e6 Fix dart2js int double test failure
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38816 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 00:46:32 +00:00
scheglov@google.com 57f076f17f New analyzer snapshot.
Not to be published.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38764 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-31 00:40:17 +00:00
floitsch@google.com 1681c30562 Update status file for typed-data test on Safari.
Review URL: https://codereview.chromium.org//417103008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38600 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-26 00:30:19 +00:00
paulberry@google.com eaf4796622 Disallow reserved words for "const Symbol(...)" with the exception of 'void'.
R=lrn@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38555 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-24 21:41:09 +00:00
floitsch@google.com 4e61a760ad List allocation through mirrors doesn't work in checked mode.
Review URL: https://codereview.chromium.org//411253005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38540 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-24 12:29:33 +00:00
floitsch@google.com 8a80ade1ac Support class-setters in reflection.
BUG= http://dartbug.com/11954
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38538 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-24 11:45:30 +00:00
floitsch@google.com b99dafd2d2 Support optional (non-named) arguments in constructors for reflection.
BUG= http://dartbug.com/19635
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38536 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-24 09:44:07 +00:00
johnmccutchan@google.com d38e32631a Skip utf85_test on simarm64 because it timesout
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38413 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-18 21:44:13 +00:00
rmacnak@google.com 7ff03558b2 Specifiy MethodMirror.isStatic is terms of whether 'this' is permitted.
BUG=http://dartbug.com/19059
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38318 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-16 23:10:34 +00:00
floitsch@google.com 80adffe8f4 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/dart@38278 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-16 11:16:05 +00:00
floitsch@google.com d352b5863d 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/dart@38274 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-16 09:34:57 +00:00
floitsch@google.com 4efb23505f Revert "Implement scheduleImmediate on Chrome/Drt/Safari/Firefox."
This reverts commit r38232.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38237 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 15:10:05 +00:00
floitsch@google.com acad70653d Don't use a float32list as storage for simd.
R=lrn@google.com

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

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38236 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 14:58:01 +00:00
floitsch@google.com 39f3fa0cf8 Implement scheduleImmediate on Chrome/Drt/Safari/Firefox.
BUG= http://dartbug.com/9002
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38232 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 13:40:35 +00:00
lrn@google.com 6335f0c911 Use correct name of test in status file update.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38228 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 12:38:19 +00:00
lrn@google.com e41bf80fbb Update test expectation for Safari to account for JSON.parse bug.
Also use num.parse now that we have it.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38223 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 08:01:43 +00:00
scheglov@google.com a4dee8bf4c Resolve names in combinators for PropertyInducingElements instead of PropertyAccessorElements.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38199 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-14 17:11:34 +00:00
rmacnak@google.com 81d0f25293 Reapply "Implement an LRU cache in dart:_internal and use it for the getter/setter caches in the VM's mirrors." Reapply "Use mirror-free LRU test for dart2js"
BUG=http://dartbug.com/18445
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38167 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-11 18:59:06 +00:00
paulberry@google.com f825cc7389 Generate compile errors for illegal uses of const Symbol constructor.
BUG=dartbug.com/18755
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38163 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-11 18:12:03 +00:00
asiva@google.com af20fc3b0a Remove skip of
language/deferred_*
lib/mirrors/deferred_*

from status files for drt/dartium targets

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38108 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-09 21:53:31 +00:00
ricow@google.com 0b6159778a Mark convert/streamed_conversion_utf8_decode_test as slow on firefox
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38082 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-09 11:55:11 +00:00
rmacnak@google.com f346a00c0f Revert r37059 and dependent r37589. This effectively reduced the size of the getter and setter caches, exposing http://dartbug.com/18284 in a C1 application.
Revert "Implement an LRU cache in dart:_internal and use it for the getter/setter caches in the VM's mirrors."
Revert "Use mirror-free LRU test for dart2js"

BUG=http://dartbug.com/19909
BUG=http://dartbug.com/18284
BUG=http://dartbug.com/18445
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38076 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-09 00:18:15 +00:00
zra@google.com ec903e2d19 Updates status files for content shell on Android.
Review URL: https://codereview.chromium.org//377583002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38026 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-07 15:59:22 +00:00
whesse@google.com 419bf8df29 Add periodic browser restart to ContentShellOnAndroid test runtime. Update test status for ContentShellOnAndroid.
BUG=dartbug.com/19127
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37983 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-03 12:59:59 +00:00
karlklose@google.com 2e8bdd4128 Revert "Emit declarations for typedefs that are needed by reflection."
Does not work in csp-drt.

This reverts commit r37945.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37973 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-03 07:24:08 +00:00
karlklose@google.com 13c67faf65 Emit declarations for typedefs that are needed by reflection.
Typedefs are encoded like closure classes, but without a call-method and a superclass.

For example, the typedef `typedef int Foo(String s);` is emitted as:
  Foo: {'^': ':15'},
where `15` is the index into `init.metadata` at which the function type is emitted.

BUG= http://dartbug.com/16939
R=herhut@google.com, floitsch@google.com

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

Reverted in https://code.google.com/p/dart/source/detail?r=37848

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

Reverted in https://code.google.com/p/dart/source/detail?r=37940

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37945 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-02 12:43:13 +00:00
karlklose@google.com d8649cf725 Revert "Emit declarations for typedefs that are needed by reflection."
This reverts commit r37939.

TBR=herhut@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37940 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-02 11:04:54 +00:00
karlklose@google.com abc6e05815 Emit declarations for typedefs that are needed by reflection.
Typedefs are encoded like closure classes, but without a call-method and a superclass.

For example, the typedef `typedef int Foo(String s);` is emitted as:
  Foo: {'^': ':15'},
where `15` is the index into `init.metadata` at which the function type is emitted.

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

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

Reverted in https://code.google.com/p/dart/source/detail?r=37848

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37939 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-02 10:51:01 +00:00
rmacnak@google.com 4e134fe26d Skip the enumerating mirror tests on debug Dartium.
They are very on debug Dartium and will simply timeout and waste bot cycles.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37899 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-01 19:50:30 +00:00
herhut@google.com 2fedabc080 Mark mirrors/mirrors_used_inheritance_test as RuntimeError except for dart2js.
BUG=
R=ricow@google.com, karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37874 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-01 13:36:32 +00:00
herhut@google.com 899c4aa3fb Mark mirrors/mirrors_used_inheritance_test as Skip except for dart2js.
BUG=
TBR=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37870 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-01 13:05:27 +00:00
karlklose@google.com eaa2c4da9a Revert "Add runtime_data.dart to the whitelist of files with unused members." and "Emit declarations for typedefs that are needed by reflection."
It does not work in checked mode.

This reverts commits 37814 and 37818.

R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37848 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-01 07:40:42 +00:00
karlklose@google.com 1502b1899d Emit declarations for typedefs that are needed by reflection.
Typedefs are encoded like closure classes, but without a call-method and a superclass.

For example, the typedef `typedef int Foo(String s);` is emitted as:
  Foo: {'^': ':15'},
where `15` is the index into `init.metadata` at which the function type is emitted.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37814 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-30 09:49:39 +00:00
herhut@google.com 80773c1452 Use mirror-free LRU test for dart2js
BUG=
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37589 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-23 09:42:43 +00:00
whesse@google.com 3056f05f32 Add deferred_mirrors failures to test status.
BUG=dartbug.com/19449
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37387 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-17 08:27:01 +00:00
whesse@google.com 82771a3229 Suppress timing-out tests on android content_shell.
BUG=dartbug.com/19127
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37362 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-16 16:16:06 +00:00
hausner@google.com 8a0207c763 Second try: fix dartium status file to exclude lib/mirrors/deferred tests
Review URL: https://codereview.chromium.org//330363002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37340 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-14 00:44:10 +00:00
hausner@google.com e1f2c03aab Skip deferred load tests on Dartium until loader is fixed.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37336 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-13 23:47:49 +00:00