Commit Graph

1421 Commits

Author SHA1 Message Date
jmesserly@google.com 4f37a8fd22 fix status file with analyzer tests
BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29768 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 20:51:38 +00:00
jmesserly@google.com d9709470cc "Reverting 29728"
I changed the test to avoid using mirrors. Somehow, import mirrors exposes a strange dart2js interceptor bug, but only in unchecked mode. (I only ran checked mode in my local tests :|. Doh)
Needs more investigation, but what seems to be happening:

* setInnerHtml creates a document
* it tries to append <base> to the <head>
* interceptor gets "Document" instead of "HtmlDocument"
* so the `document.head` fails

The bug seems to require Shadow DOM+unchecked+mirrors. Anyway, since it's totally unrelated to this test or the bug fix for 14700, I'm just working around it for now. Will open a separate issue.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29767 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 19:59:45 +00:00
kasperl@google.com 68ff3d28cc Revert "fix nested bindings"
This reverts r29722.

R=jmesserly@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29728 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 08:47:49 +00:00
lrn@google.com 9946223745 Fix unordered equality to not trigger dart2js typing restriction.
BUG= http://dartbug.com/14654
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29726 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 08:09:52 +00:00
jmesserly@google.com 6179df0ad5 fix nested bindings
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29722 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 02:15:15 +00:00
kasperl@google.com 846c73aad7 Update pkg.status file to account for two failing tests on dart2js.
R=johnniwinther@google.com, lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29671 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 14:02:01 +00:00
jmesserly@google.com 308c960be6 fix csslib and watcher warnings
R=rnystrom@google.com, terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29632 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:43:00 +00:00
jmesserly@google.com 489f51a41b fix barback and polymer build warnings
R=nweiz@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29631 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:41:01 +00:00
floitsch@google.com 7006de6f23 Remove deprecated parts of dart:async.
Attempt to fix most uses of the deprecated features.

R=floitsch@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29628 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:24:29 +00:00
ngeoffray@google.com c4cc94ca17 In checked mode, parameters are already explicitly checked in the inferrer graph. So there is no need to narrow them.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29542 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 13:19:07 +00:00
jmesserly@google.com a369bb2893 mark a couple of tests flaky on dart2js
https://code.google.com/p/dart/issues/detail?id=14603

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29510 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 02:05:15 +00:00
jmesserly@google.com c574e860ec polymer warning clean
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29505 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 00:48:07 +00:00
jmesserly@google.com 953e22c8b8 fix status files for FF/IE/Safari
* Firefox seems to have gotten audiocontext (in 25? was released today)
* globals_test is passing with latest TemplateBinding

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29503 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 00:41:42 +00:00
jmesserly@google.com 7b3123e02a Update our TemplateBinding port
https://github.com/Polymer/TemplateBinding/tree/ed3266266e751b5ab1f75f8e0509d0d5f0ef35d8

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29500 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 23:26:20 +00:00
jmesserly@google.com 084dc19054 fix PathObserver to avoid try+catch
also fixes staticwarnings

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29498 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 22:18:37 +00:00
vsm@google.com 2c6e98e6f9 Remove StaticWarning designation now that test is updated
TBR=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29491 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 21:03:08 +00:00
sigmund@google.com 3336d7d194 Inherit @published from base class (fix issue 13937)
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29412 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 03:40:47 +00:00
kustermann@google.com 4520b66da6 Mark pkg/unittest/test/missing_tick_test as timeout
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29351 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 11:19:37 +00:00
kustermann@google.com 94ebff2225 Bugfix in test.dart, adding of specialized test outcomes for analyzer
This CL will:
 - fix a bug in the legacy AnalyzerCommandOutputImpl class (in certain cases
   we did not report that the analyzer was missing a warning).
 - make the outcome of running the analyzer on a test be one of:
   * CompileTimeError
   * MissingCompileTimeError
   * StaticWarning
   * MissingStaticWarning
 - Make status file updates using the new Expectation markers
 - Remove support for '@static-clean':
     Previously running the analyer on a test could either result in
     'Pass' or in 'Fail'. The '@static-clean' annotation has been used
     as a (poor) mechanism to distinguish between errors and warnings.
     Having the 4 markers mentioned above means we can remove '@static-clean'
 - Remove 100 lines of rotted legacy code in our testing scripts.
 - Make a status file entry for every test that has analyzer errors or warnings

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29350 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 10:39:38 +00:00
ngeoffray@google.com bc55def467 Better triaging for this failure: usage of Type.toString makes the test fail in minified mode.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29344 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 08:17:06 +00:00
ngeoffray@google.com b14b77dfb9 Test does not pass in minified mode.
Review URL: https://codereview.chromium.org//47763002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29334 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-27 20:57:43 +00:00
ngeoffray@google.com 5e06168ea7 Fix issue 12336: there was a bug when updating phis at exit of a block with a HTypeKnown instruction.
By making the update an assignment, we were generating the wrong order of copies. Since the checked input of HTypeKnown may have a name, we need to make it a copy.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29331 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-27 19:29:12 +00:00
sigmund@google.com 68386823d1 Update polymer to commit b7200854b2441a22ce89f6563963f36c50f5150d
This brings over the changes to event dispatching.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29303 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-26 00:42:21 +00:00
scheglov@google.com 7ac0b7d0bd Rename analyzer_experimental to analyzer.
R=jmesserly@google.com, pquitslund@google.com, danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29302 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 23:59:38 +00:00
jmesserly@google.com 34085ccdb5 port Node.bind to bd0a0591920da9091b326627a46a104a92c7efe7
the first step to fix https://code.google.com/p/dart/issues/detail?id=13950

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29294 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 21:39:06 +00:00
scheglov@google.com ab4a7a15d1 New analyzer_experimental snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29260 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 16:55:54 +00:00
kustermann@google.com 746d924e59 co19-roll to r641
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29255 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 15:07:10 +00:00
kustermann@google.com c0a460e2cb Mark pkg/polymer_expressions/test/bindings_tes as flaky
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29253 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 14:07:28 +00:00
asiva@google.com 3253eb3b84 Update status files to account for 14400 being fixed.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29215 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:51:53 +00:00
blois@google.com b898e76175 Updating status of bind_mdv_test on IE
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29204 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:42:46 +00:00
scheglov@google.com b500fc56d2 Issue 14328. Propagate type arguments into super type when looking up super constructor.
https://code.google.com/p/dart/issues/detail?id=14328

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29201 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:01:58 +00:00
asiva@google.com 910c318003 Fix status file to mark spawnFunction as crashing until 14400 is fixed.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29199 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:51:57 +00:00
blois@google.com 9dbee290eb Attempting to investigate/deflake Polymer tests on IE9
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29198 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:38:32 +00:00
scheglov@google.com fb757f6c82 Issue 14388. Remove implicit setters for final fields.
https://code.google.com/p/dart/issues/detail?id=14388

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29196 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:07:11 +00:00
sigmund@google.com 9424a70d30 Switch to lookup declaration by tag name. This fixes issue 14274.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29186 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:31:54 +00:00
iposva@google.com 381027d755 - Widen the flaky net for pkg/http_server/test/http_body_test.
Review URL: https://codereview.chromium.org//39173003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29152 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 05:42:04 +00:00
iposva@google.com 03d9d79203 Fix typo.
Review URL: https://codereview.chromium.org//39383002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29151 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 05:21:40 +00:00
iposva@google.com a3ad73da24 - Mark flaky test.
Review URL: https://codereview.chromium.org//38573004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29150 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 05:15:49 +00:00
jmesserly@google.com 271b5c913a mark another polymer tests failing on IE
Review URL: https://codereview.chromium.org//38193003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29145 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 02:35:27 +00:00
sigmund@google.com 7dc84863f7 Also timeout the test that should pass - sigh
Review URL: https://codereview.chromium.org//38603004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29143 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 01:50:02 +00:00
sigmund@google.com 2bdff1184b Update status for IE9
Review URL: https://codereview.chromium.org//39083002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29142 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 01:45:55 +00:00
jmesserly@google.com 0acc931fc4 port polymer data binding tests
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29139 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:59:31 +00:00
sigmund@google.com 92ebcc30c7 Fixes all canonicalization problems... all of them. Ok, not all of them, but at
least it should address the many issues people have been hitting.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29137 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:34:35 +00:00
jmesserly@google.com 7382a5ef78 add test for polymer custom events
I thought I would need to fix something, but it seems to be working :)

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29119 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 20:53:43 +00:00
floitsch@google.com baa577f070 Mark equality_test/none as pass/fail.
Review URL: https://codereview.chromium.org//37353003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29093 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 15:58:27 +00:00
lrn@google.com 3f2810a8ac Add collection-helpers library.
Library contains:
- Delegating wrappers for Iterable, List, Set, Queue, Map.
- Equality abstraction, with ordered and unordered equality of
  collections, and a deep equality.
- Algorithms on collections (List only so far) with
  - shuffle
  - binary search
  - insertion-sort
  - merge-sort
Planning to add Tim-sort eventually.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29072 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 11:42:52 +00:00
jmesserly@google.com 72d5dcb0cd fix template_binding tests on safari/ie
TemplateElement is not supported on these platforms *

* in Polymer, the ShadowDOM polyfill takes care of this so it will work okay.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29059 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 03:59:22 +00:00
jmesserly@google.com 04c0d63166 fix build due to mdv -> template_binding rename
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29058 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 02:25:05 +00:00
sigmund@google.com 5670ea13fe Mark ie9 test as flaky again.
Review URL: https://codereview.chromium.org//35533004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29041 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 22:09:05 +00:00
sigmund@google.com 0ef8267538 Mark test as passing in ie9 - woo hoo!
Review URL: https://codereview.chromium.org//35013004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29038 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 21:16:00 +00:00