Commit Graph

1458 Commits

Author SHA1 Message Date
janicejl@google.com 1f490d682c "Reverting 25348"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25349 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 17:46:13 +00:00
janicejl@google.com 392012b0c7 removed docgen/test/single_library_test: Skip # Uses js_helper
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25348 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 17:31:21 +00:00
jmesserly@google.com 320656845d mark some tests as failing on dart2js+csp
see https://code.google.com/p/dart/issues/detail?id=11970
TBR=sigmund

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25330 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 03:51:31 +00:00
nweiz@google.com 2c39434647 Use window.location.href in path under dart2js.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25304 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 21:06:37 +00:00
janicejl@google.com 1f16f80b27 "Reverting 25293"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25295 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 19:20:30 +00:00
janicejl@google.com 574d3548f2 removed docgen/test/single_library_test: Skip
R=ahe@google.com, efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25293 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 19:04:26 +00:00
ahe@google.com c17ca9d9b3 Implement top-level accessors.
Also, implement top-level fields in minified mode.

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25276 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 14:52:39 +00:00
cbracken@google.com 85462a9c08 Migrate fixnum tests to unittest. Fix int32 rollover bug.
- Migrated tests to unittest
- Reorganized tests by operator
- Test coverage for +/- overflow/rollover
- Test coverage for null args
- Test coverage for unary -
- Test coverage for comparison operators

BUG=
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25176 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 20:44:47 +00:00
kustermann@google.com 37560ff519 Support for inlining small methods (independent of they're called inside a loop or not)
BUG=http://dartbug.com/11478
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25093 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 13:03:11 +00:00
ahe@google.com ed48b2394a Fix a few issues related to mirrors:
* Bad assertion in emitter.

* Don't assume we generate checked setters for statics.

* Unmangle field names using getter prefix (which makes "everything" work in minified mode).

BUG=http://dartbug.com/6490
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25092 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 12:40:30 +00:00
ajohnsen@google.com ec867dd96b Disable mime_multipart_transformer_test on IE9, as it lacks typed data.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25004 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 12:39:40 +00:00
rnystrom@google.com 61b909a1f2 Only run watcher tests on standalone VM.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24975 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 21:38:58 +00:00
rnystrom@google.com a9d24edd0f Rename "pathos" package to "path".
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24964 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 17:54:48 +00:00
regis@google.com e8a722870b Support type parameters and classes as expression in the vm.
Turn many compile-time errors into runtime errors per latest spec.
Triage affected tests.

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24861 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 19:35:56 +00:00
lrn@google.com 2985f3462e Add package with iterable and stream "zipping" functionality.
You can use new IterableZip([it1, it2, it3]) to generate an iterable of
three-element lists, one from each source iterable, as long as all three
source iterables have an element.

Similar functionality for streams is provided by StreamZip.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24835 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 05:49:31 +00:00
nweiz@google.com a1dfaf542d Make the Firefox trace RegExp not go exponential on V8.
BUG=11645
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24829 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 22:25:07 +00:00
janicejl@google.com e474478d3e added a skip for browsers.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24820 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 21:22:12 +00:00
janicejl@google.com 9c79f3d395 added fail ok for docgen/test/single_library_test.dart
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24816 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 20:12:02 +00:00
scheglov@google.com 6c6b88967f Remove dartc status sections.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24735 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 17:50:34 +00:00
kustermann@google.com ce788c643f Mark pkg/mdv/test/custom_element_bindings_test as failing on dartium in debug mode
This is crashing the renderer on an assertion

Filed issue 11657

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24690 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 15:17:00 +00:00
nweiz@google.com ec95277971 Mark stack_trace/trace_test as timing out on dart2js minified.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24641 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 18:40:26 +00:00
gram@google.com 2053f51580 Skip negative mock tests in analyzer.
See https://code.google.com/p/dart/issues/detail?id=11517

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24637 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 18:05:53 +00:00
nweiz@google.com 173e2ecdd7 pkg/stack_trace/vm_test shouldn't fail on Dartium.
Review URL: https://codereview.chromium.org//18110009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24572 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 02:08:12 +00:00
nweiz@google.com e91e9182c5 Add support for V8 and Firefox stack traces in pkg/stack_trace.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24569 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 01:22:36 +00:00
amouravski@google.com 5089f391d2 Revert "Add support for V8 and Firefox stack traces in pkg/stack_trace."
This reverts commit r24502.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24506 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 02:16:12 +00:00
nweiz@google.com a92a52a4ff Add support for V8 and Firefox stack traces in pkg/stack_trace.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24502 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 00:28:28 +00:00
jmesserly@google.com d6b9207588 Reorganize mdv and observe functionality
* keep correct dart:html APIs
* move implementation into package:mdv and package:observe
* remove dart:mdv_observe_impl
* remove getValueWorkaround/setValueWorkaround from package:observe

R=blois@google.com, floitsch@google.com, justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24498 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 23:25:47 +00:00
ricow@google.com d4ab0bdbe2 Revert revision 24444, pkg/unittest/test/unittest_test is still flaky timing out on firefox
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24454 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 07:53:51 +00:00
scheglov@google.com 92dd5f0e42 Triage pkg and standalone tests.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24446 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 03:02:18 +00:00
gram@google.com be0b406aa6 Re-enable unittest_test on Firefox. I think the timeout issues was fixed in
r24439.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24444 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 23:58:03 +00:00
ricow@google.com 2b7ee700b9 Mark unittest_test as flaky timing out on firefox, not flaky failing
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24390 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 09:59:15 +00:00
ricow@google.com 4e57b11976 Mark pkg/unittest/test/unittest_test as flaky timing out on firefox
Filed issue 11473

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24383 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 07:34:30 +00:00
kasperl@google.com a944ac501c Update status files after inlining change.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24356 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 18:23:01 +00:00
johnniwinther@google.com 28acc13c57 Update status files.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24313 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 09:09:07 +00:00
johnniwinther@google.com 2432ac4647 Support runtime check of function types.
New scheme for checking function subtyping:

1) Generate an $isX predicate on objects that are statically known subtypes of a given function type
2) Generate a signature encoding the whole function type on objects when a runtime check is needed.

A check succeeds if either 1) or 2) is true.

If too many predicates are needed a signature is generated instead, and if a signature is needed, no predicates are generated. Maximum number of predicates is currently determined by the magic constant MAX_FUNCTION_TYPE_PREDICATES in emitter.dart.

R=karlklose@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24309 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 06:58:55 +00:00
johnniwinther@google.com 90bf6203ee Revert "Support runtime check of function types."
This reverts commit r24286.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24288 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 14:02:47 +00:00
johnniwinther@google.com 2ce76ed94a Support runtime check of function types.
New scheme for checking function subtyping:

1) Generate an $isX predicate on objects that are statically known subtypes of a given function type
2) Generate a signature encoding the whole function type on objects when a runtime check is needed.

A check succeeds if either 1) or 2) is true.

If too many predicates are needed a signature is generated instead, and if a signature is needed, no predicates are generated. Maximum number of predicates is currently determined by the magic constant MAX_FUNCTION_TYPE_PREDICATES in emitter.dart.

R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24286 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 13:35:56 +00:00
ajohnsen@google.com bb2980367c Fix virtual_directory_test and Fail, OK on dart2js/browsers.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24285 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 12:20:03 +00:00
ricow@google.com dacb671c45 Remove accidential addition of safari to v8 bug suppression in 24260.
Review URL: https://codereview.chromium.org//17531003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24261 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 06:05:39 +00:00
ricow@google.com 1426d0ef14 Mark two sha1 tests as failing on dart2js-safari.
Filed http://dartbug.com/11407

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24260 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 05:57:52 +00:00
rnystrom@google.com d1920cf1b7 Disable barback tests on the browser.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24259 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 00:53:45 +00:00
ngeoffray@google.com 25ed4974e4 Test does not crash anymore, with Peter's latest changes on diagnosing https://code.google.com/p/dart/issues/detail?id=11340.
Review URL: https://codereview.chromium.org//17265011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24201 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 20:13:52 +00:00
ahe@google.com 86bf096aba Update status of mock tests
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24183 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 13:34:58 +00:00
ahe@google.com 3c81dea67e Update status files.
Review URL: https://codereview.chromium.org//17064005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24031 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 14:17:06 +00:00
kustermann@google.com ea0f07f4b6 Mark pkg/analyzer_experimental/test/ as slow for now
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23953 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 08:49:49 +00:00
nweiz@google.com 84fef167cd Fix more pkg.status bugs.
Review URL: https://codereview.chromium.org//16866005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23945 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 00:16:43 +00:00
nweiz@google.com 638bc9bc8a Make some progress towards getting the bots green again.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23944 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 23:19:15 +00:00
nweiz@google.com 4c59354754 Make pathos run in the browser.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23929 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 20:13:09 +00:00
ahe@google.com f0224cdc36 Implement:
JsClassMirror.methods, JsClassMirror.getters,
JsClassMirror.setters, JsMethodMirror.isGetter,
JsMethodMirror.isGetter, JsMethodMirror.isStatic,
and JsMethodMirror.isPrivate.

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23892 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 06:51:35 +00:00
ahe@google.com d938ea377e Tests that import dart:io also fail on Dartium.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23853 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 14:10:03 +00:00