Commit Graph

1115 Commits

Author SHA1 Message Date
karlklose@google.com 194ffff045 More fixes to test expectations on dart2js-chrome.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37318 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-13 16:54:04 +00:00
rmacnak@google.com da3b61d764 Add missing demangling to the VM's NoSuchMethodError. Ensure the VM's NoSuchMethorErrors for reflective invocation match those for non-reflective invocation.
Fix bug in VM demangling of setters.
Fix bug where test was not covering invocation on classes as intended.

BUG=http://dartbug.com/18042
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37294 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-12 22:53:00 +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 d9ed5e2d02 Stream_controller_test after it started using non-zero timers.
This makes dart2js/jsshell fail.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36914 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-03 10:47:11 +00:00
ricow@google.com f72cd0c296 Remove suppression of lib/mirrors/delegate_test in csp mode
Review URL: https://codereview.chromium.org//303373002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36817 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-30 08:36:42 +00:00
rmacnak@google.com 3b5ff25469 Lay waste to ClosureMirror.findInContext.
BUG=http://dartbug.com/18741
R=gbracha@google.com, iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36704 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 19:35:58 +00:00
floitsch@google.com 5708ec2d9e Allow delegate calls even though the target is not reflectable.
BUG= http://dartbug.com/15138
BUG= http://dartbug.com/17451
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36621 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 08:56:44 +00:00
lrn@google.com 89c6fb429e Fix status files for co19 tests, and for test running in jsshell.
Review URL: https://codereview.chromium.org//300433004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36552 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-23 09:34:13 +00:00
ricow@google.com 95dfe7c083 Mark a lot of ie9 tests as skip instead of timeout or flaky timeout.
The majority of these are either not triaged or marked with a bug that is not actively being worked on.

Since we can only run _one_ instance of IE simultainiuosly on windows if we don't want flake this is really slowing us down.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36517 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-22 17:33:31 +00:00
lrn@google.com b810f77e67 Change expectation for jsshell on lib/async/timer_isolate_test.
An uncaught error in an isolate does not cause the program to exit.

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36351 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-20 11:33:34 +00:00
zra@google.com 4a7e022d97 Adds intrinsics for arm64.
Also enables tests that no longer time-out.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36330 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 21:35:32 +00:00
brianwilkerson@google.com e0a62bb44d Fix for issue 14116
R=jwren@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36282 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-17 02:23:25 +00:00
johnniwinther@google.com 3324b73210 Include internal library members when enqueuing everything.
BUG=http://dartbug.com/18569
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36214 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-15 11:42:22 +00:00
zra@google.com 03f2f289b4 Adds Math Min/Max to arm64.
Also fixes bugs and enables tests.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36116 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-13 18:10:16 +00:00
sigurdm@google.com 21a9788738 When mirrors are used with deferred loading we now go through all
elements and query compiler.backend.isNeededForReflection for each of
them.

R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36092 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-13 08:29:14 +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
rmacnak@google.com f4f4713eb8 Put metadata fields in their owner class to maintain the class-field bidirectional relationship asserted Field::PrintJSON.
Extended metadata scope test based on suspicions regarding the ordering of adding type parameters metadata fields versus ordinary fields of a class.

BUG=http://dartbug.com/18652
R=iposva@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35926 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-08 18:15:33 +00:00
scheglov@google.com 3b128404d9 Issue 17894. Scope of metadata on a class is the defining library, not the class.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=17894

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35861 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-07 19:46:20 +00:00
rmacnak@google.com f0d289599c VM: Fix TypedefMirror.isPrivate and TypeVariableMirror.isPrivate.
BUG=http://dartbug.com/18271
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35758 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-05 19:45:58 +00:00
scheglov@google.com 593096bef2 New analyzer snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35704 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-02 20:06:26 +00:00
scheglov@google.com 072c7955ad Status tweak for make DDA green.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35702 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-02 19:09:55 +00:00
ricow@google.com 342d4e79da Update status file entries for mobile safari simulator.
Only a few tests are failing that are not failing on the normal safari.

I have marked those with issue 18573

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35634 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-01 15:40:33 +00:00
ricow@google.com 67f008486b Mark lib/mirrors/intercepted_object_test as failing on dart2js checked
This is giving a runtime error, see
https://code.google.com/p/dart/issues/detail?id=18569

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35613 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-01 05:51:32 +00:00
floitsch@google.com bcb3c3e8ba Don't hide interceptors in mirrors.
The special code for mirrors was brittle and was the reason for several bugs.

BUG= http://dartbug.com/18076
BUG= http://dartbug.com/15405
BUG= http://dartbug.com/14025
BUG= http://dartbug.com/13842
BUG= http://dartbug.com/16804
BUG= http://dartbug.com/15555
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35586 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-30 18:21:11 +00:00
jwren@google.com 2ceb165494 Fix for 18468- T << Type where T is a type parameter and Type is the type Type from dart.core
R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35501 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-28 22:10:11 +00:00
sra@google.com 93ef680621 Mark Safari lib/mirrors/to_string_test as working
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35304 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-23 07:03:00 +00:00
rmacnak@google.com 7ba8ca5753 Reapply "Mark private functions in dart:* that are native or constructors as not visible (omitted from stack traces and ineligible for reflective enumeration or invocation)."
With fix for uninitialized is_dart_scheme_ when read from snapshot.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35289 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-23 00:05:08 +00:00
jwren@google.com 4f4507b9ef Fix for 14221/ 15553/ 16673- X isSubtypeOf E now returns false when X is some type and E is a type parameter. This fixes a few issues, but also breaks some assertions (language tests that now have valid warnings from the analyzer).
Additional work will need to be done to fix the language tests, and to investigate the case of X isSubtypeOf E where X is of type Type.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35281 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 20:07:54 +00:00
ricow@google.com 00c28d1198 Mark lib/mirrors/invoke_natives_fuzz_test as failing on command line javascript engines
Review URL: https://codereview.chromium.org//247013003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35254 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 11:16:57 +00:00
ricow@google.com 6beeb38f35 Remove suppression for lib/mirrors/invoke_natives_fuzz_test on dart2js
This is passing on all configurations as far as I can see

Also, I don't really see why the second of the removed headings is needed, since it seems to be containted in the first

This may be due to commit - status file update - revert.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35247 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 07:01:08 +00:00
rmacnak@google.com 7840906011 Revert "Mark private functions in dart:* that are native or constructors as not visible (omitted from stack traces and ineligible for reflective enumeration or invocation)."
Review URL: https://codereview.chromium.org//246173002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35238 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 00:08:52 +00:00
rmacnak@google.com 69d82c334b Mark private functions in dart:* that are native or constructors as not visible (omitted from stack traces and ineligible for reflective enumeration or invocation).
Ensure invocation_fuzz_test doesn't exit prematurely.

Also visit instance methods defined in superclasses.

Complete blacklist so invocation_fuzz_test passes on the VM.

B=http://dartbug.com/15274
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35234 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-21 23:24:17 +00:00
rmacnak@google.com fe5088a04e Update mirrors/invoke_natives_fuzz_test status.
Review URL: https://codereview.chromium.org//243193003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35172 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-18 16:54:01 +00:00
rmacnak@google.com cf10eda0f1 Syntax error in test status heading.
Review URL: https://codereview.chromium.org//242253002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35159 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-17 23:28:23 +00:00
rmacnak@google.com cd09aca632 Mark invoke_natives_fuzz_test as passing in Dartium, FF, Safari, Chrome, IE.
Review URL: https://codereview.chromium.org//242213002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35158 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-17 23:22:22 +00:00
rmacnak@google.com e321ed387f Add fuzz test for reflective invocation.
B=http://dartbug.com/15274
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35155 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-17 21:48:23 +00:00
sra@google.com a6a11ab53c Update status for two tests fixed by r35000
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35003 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-12 00:53:27 +00:00
jwren@google.com b2be15f8ed Fix for first half of 16078- clarifications on the StaticWarningCode.FUNCTION_WITHOUT_CALL warning
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35002 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-12 00:35:36 +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
floitsch@google.com 07b6c4739e Add support for closure calls through getters.
Support reflect(o).invoke(#bar) where bar is a getter.
library.getField(#foo) where `foo` is a method.

BUG= http://dartbug.com/15138
R=karlklose@google.com

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

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

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34823 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:27:37 +00:00
floitsch@google.com 8cdf6bde8e Revert "Add support for closure calls through getters."
This reverts commit r34818.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34820 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:06:15 +00:00
floitsch@google.com 6c9c0642a0 Add support for closure calls through getters.
Support reflect(o).invoke(#bar) where bar is a getter.
library.getField(#foo) where `foo` is a method.

BUG= http://dartbug.com/15138
R=karlklose@google.com

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

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34818 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 11:27:00 +00:00
floitsch@google.com b7fefddf34 Revert "Add support for closure calls through getters."
This reverts commit r34779.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34782 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 15:58:49 +00:00
floitsch@google.com 569e0f50ed Add support for closure calls through getters.
Support reflect(o).invoke(#bar) where bar is a getter.
library.getField(#foo) where `foo` is a method.

BUG= http://dartbug.com/15138
R=karlklose@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34779 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 15:02:01 +00:00
floitsch@google.com 47a1edad2b Move mirrors-test from dart2js_extra to lib/mirrors.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34728 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 09:48:31 +00:00
kevmoo@google.com 6e3128596c lib/convert: removed unused import, removed redundant test
Re-enabled checks in existing test

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34703 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 13:41:55 +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
floitsch@google.com 4cf0157e5e Allow getField of methods.
BUG= http://dartbug.com/13002
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34598 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-01 14:04:49 +00:00
floitsch@google.com ff402648a2 Revert "Add support for closure calls through getters."
This reverts commit r4555.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34556 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 15:21:27 +00:00