Commit Graph

1421 Commits

Author SHA1 Message Date
whesse@google.com 28298880ad Mark two standalone tests as flaky, with bugs filed for them.
package watcher, directory_watcher_test and standalone/vmservice/multiple_isolate_list_test are marked as flaky.

BUG=http://dartbug.com/12107, http://dartbug.com/12124
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25613 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 13:09:32 +00:00
ricow@google.com 947984f6f5 Mark pkg/path/test/browser_test as failing on browsers.
The test is using the io library (which is not available, neither imported)

Filed dartbug.com/12121

R=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25604 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 05:57:19 +00:00
jmesserly@google.com eb6e8d27ff I marked custom_element as failing in IE9, but that also included the analysis test, which was being run even on browser bots(!)
Review URL: https://codereview.chromium.org//21189002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25602 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 01:11:13 +00:00
jmesserly@google.com a40fefb346 mark custom_element test as failing on IE9
it depends on Mutation Observers which are not supported
(however, a polyfill package is coming shortly!)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25597 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 00:23:09 +00:00
vsm@google.com 897dc30061 Update mdv test status
I think this was fixed by my recent CL.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25595 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 00:01:38 +00:00
jmesserly@google.com 9fa9329f90 add custom_element package
code is from https://github.com/dart-lang/web-ui/blob/polymer/lib/custom_element.dart

Includes a test for the polyfill. It also includes a static analysis test to catch the common errors of forgetting to add an Element API. Because we had analysis errors in "observe" and "mdv" packages too, I added tests for them too, and fixed the issues.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25591 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-29 23:00:21 +00:00
ricow@google.com 2bc1e6202d Mark pkg/watcher/test/no_subscription_test as flaky on windows.
Filed: http://www.dartbug.com/12107

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25559 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-29 13:15:19 +00:00
gram@google.com 1917976321 Remove references to webdriver in pkg.status
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25455 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 00:07:57 +00:00
gram@google.com 65fa576868 Modify the instance test to work with dart2js by using looser matching,
and re-enable the test.
See https://code.google.com/p/dart/issues/detail?id=11191

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25452 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 23:53:27 +00:00
janicejl@google.com 8544abc81b single library test
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25386 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 00:03:19 +00:00
janicejl@google.com aaf9f61a80 "Reverting 25378"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25381 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 23:08:49 +00:00
janicejl@google.com d1ff57f6c2 Single Library Test
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25378 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 22:54:29 +00:00
gram@google.com fb62473ebf Add missing newline after Actual value in fail message.
Remove the BasMatcher class; it made some sense when we had both 'interface'
and 'class' but adds no value now.
Fix a comment in the CustomMatcher documentation.
Fix tests affected by these changes.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25356 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 19:48:26 +00:00
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