Commit Graph

1458 Commits

Author SHA1 Message Date
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
sigmund@google.com e1e9df10c6 Remove flaky marks on polymer tests for windows + ff/chrome
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29037 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 21:08:16 +00:00
sigmund@google.com 2b092e883f Fixes the deploy step used by the bots in windows
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29027 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:32:01 +00:00
jmesserly@google.com ccb7d5304f fix issue 14300 -- polymer tests under CSP
R=ricow@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29020 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:29:46 +00:00
blois@google.com 3ce5b53d2f Fixing status of register test on IE
Also addressing review feedback from original CL

BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29009 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 17:06:53 +00:00
blois@google.com bcf24e3c00 Fixing polymer element registration when extending tag extensions
BUG=14127
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29006 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 16:20:04 +00:00
sigmund@google.com 357af01f40 Fix prop_attr_reflection_test in drt/dartium (fixes issue 14295)
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29005 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 16:18:14 +00:00
fschneider@google.com 593abec44c Fix bug with load elimination in checked mode.
Definitions that are redefined through AssertAssignable must be
unwrapped to number loads/stores correctly for them.

Fix test expectations for tests that are passing now that the
corresponding co19 test was changed.

BUG=https://code.google.com/p/dart/issues/detail?id=13543
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29001 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 16:03:48 +00:00
jmesserly@google.com 077dd5c0b5 mark polymer csp tests as failing
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28988 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 07:56:39 +00:00
sigmund@google.com aabf7503ad Mark fail/timeout in dartium test while we investigate.
Review URL: https://codereview.chromium.org//28613005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28978 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 01:10:28 +00:00
sigmund@google.com 2ec8210e03 Mark polymer tests as failing in windows.
Review URL: https://codereview.chromium.org//34093002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28973 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 00:21:00 +00:00
jmesserly@google.com 821e6fec2a Several fixes here to fix bugs and get our tests into a reliable state:
* customElementsReady future. We don't fire Polymer.onReady until custom elements are ready too

* deploy without dart.js by default. This is the expected deployment mode for real apps. Also make sure we test this on DRT and compiler==js, so Pete can change Dartium without causing build breaks :)

* stop using "package:observe" test "performMicrotaskCheckpoint" hack in Polymer. This was too blunt; it affected timing of all async operations. Instead we only trigger Observable.dirtyCheck. It's using the latest Zone API as well.

* mixin ChangeNotifier explicitly. This is mainly to fix a quirk of our test environment (test server loads "packages/polymer" in untransformed mode, causing it to pick up Observable instead of ChangeNotifier).

* fix change watchers to blacklist "attributeChanged" :)

* fix serializeValue to only use the runtime value

* fix deserializeValue to get the right Type for dart:core types

* cleanup prop_attr_reflection_test to use mutation observer

R=blois@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28956 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 21:49:51 +00:00
jmesserly@google.com b85a54ec6d fix Polymer to work with latest JS interop
both places we used dart:js were broken for different reasons :). On the bright side, a huge hacky workaround is gone!

R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28915 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 01:38:52 +00:00
jacobr@google.com 8ada3f245e TBR: fix failing polymer test
Marked todomvc as failing. TBR

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28906 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-19 05:30:12 +00:00