Commit Graph

1421 Commits

Author SHA1 Message Date
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
lry@google.com 256993d635 mark barback test "too_many_open_files_test" as flaky
minor cleanups on previous patch

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28853 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 11:41:04 +00:00
kustermann@google.com f35b9c485f Mark pkg/polymer/test/attr_mustache_test as flaky on dart2js-ff
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28849 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 09:24:04 +00:00
scheglov@google.com 581b368515 New analyzer_experimental snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28831 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 22:14:19 +00:00
kustermann@google.com fc8082b75e Mark more polymer tests + todomvc (which usees polymer) as flaky
Review URL: https://codereview.chromium.org//27699002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28798 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 12:37:31 +00:00
floitsch@google.com 5d40cc5729 Mark instance_attrs_test as flaky.
Review URL: https://codereview.chromium.org//27688002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28796 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 10:44:20 +00:00
sigmund@google.com 728114e4c6 Update status on browser-only tests.
Review URL: https://codereview.chromium.org//26967009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28779 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 04:27:45 +00:00
zra@google.com 3f5cacdc87 Updates status file for slow test on simarm, simmips
Review URL: https://codereview.chromium.org//26174004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28727 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 15:20:21 +00:00
kustermann@google.com a43e7cf2c8 Mark pkg/barback/test/too_many_open_files_test as slow
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28724 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 13:41:34 +00:00
jmesserly@google.com ceb15d891c fix PolymerElement.bind to call reflectPropertyToAttribute w/ prop name
This is the fix for issue 14060
Polymer.js fix is at: https://github.com/Polymer/polymer/pull/319

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28688 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 22:41:19 +00:00
floitsch@google.com 43bbab4e09 Mark error_test as timeout.
Review URL: https://codereview.chromium.org//27103002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28570 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 16:49:40 +00:00
floitsch@google.com fcf5c20aeb Mark prop_attr_reflection_test as failing.
Review URL: https://codereview.chromium.org//27090003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28566 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 13:53:20 +00:00
blois@google.com 1f788e54c9 Marking Polymer's prop_attr_reflection_test as fail
Change in symbol name is causing test to fail, opened bug.

TBR
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28560 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 00:22:34 +00:00
alanknight@google.com 8cb396fafb Mark the intl file-reading tests slow on debug mips
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28529 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 17:10:20 +00:00
sigmund@google.com 5df1c0d7f9 Fix bug in polymer expressions where input-value bindings are incorrectly
updated twice, losing the cursor position.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28480 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 21:29:07 +00:00
zra@google.com a644c01748 Updates status file for flaky test on simmips.
Review URL: https://codereview.chromium.org//26855003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28456 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 15:04:31 +00:00
scheglov@google.com afb3cc7f01 Issue 13918. final fields induce setters that are illegal to call
https://code.google.com/p/dart/issues/detail?id=13918

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28415 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 20:30:42 +00:00
vsm@google.com 334fd6bf07 Mark spawnFunction tests as Fail on Dartium
See corresponding Dartium CL:
https://chromiumcodereview.appspot.com/26397003/

This disables spawnFunction on DOM enabled isolate (i.e., where
dart:html is available).  spawnFunction should continue to work on
non-DOM enabled isolated.  spawnUri should be unaffected.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28406 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 16:25:28 +00:00
vsm@google.com 5fbbb5c53b Revert "Fix status files"
This tests all pull in dart:io but do not use them.

This CL temporarily made them work:
- https://chromiumcodereview.appspot.com/26490003/

This CL restores the previous (and I think correct) behavior:
- https://chromiumcodereview.appspot.com/26540002/

BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28374 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 19:25:31 +00:00
vsm@google.com 879d006d47 Fix status files
Note: about 25 tests started passing on Dartium with:
https://chromiumcodereview.appspot.com/26490003/

Need to understand why & if this is legit.

TBR=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28368 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 17:33:58 +00:00
jmesserly@google.com 64b7cb0756 mark test failing for issue 13890
Review URL: https://codereview.chromium.org//26453002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28359 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 07:21:45 +00:00
jmesserly@google.com 01230279a3 add enumerate to the default filter set
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28358 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 06:14:31 +00:00
jmesserly@google.com 210d06e501 fix status for a test that is passing on IE
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28351 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 01:53:45 +00:00
jmesserly@google.com 034d14cfc0 fix ShadowDOM on browsers with non-native template
also update shadow_dom to latest

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28343 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:26:06 +00:00
jmesserly@google.com 177102c56f skip polymer instance_attrs_test on vm
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28342 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:21:05 +00:00
jmesserly@google.com 9ccae5e0d9 fix polymer copy-instance-attributes feature
fixes https://code.google.com/p/dart/issues/detail?id=13883

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28339 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 00:05:56 +00:00
zra@google.com 582a3d1337 Updates status file for flakey test on DebugSIMMIPS.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28320 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 18:45:21 +00:00
ricow@google.com 95b0505181 Revert revsion 28304
The flaky test has already been fixed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28308 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 12:56:24 +00:00
ricow@google.com 101b5a81c5 Mark pkg/sequence_zip/test/stream_test as flaky on IE9
Filed issue 13865 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28304 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 11:30:45 +00:00
lrn@google.com aeac488783 Make sequence-zip test not be timing dependent.
Review URL: https://codereview.chromium.org//25982004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28300 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 07:00:20 +00:00
kustermann@google.com 14dce1057e Second round of status file updates after enabling none-dartium tests on dartium-inc builders
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28265 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 14:32:38 +00:00
jmesserly@google.com 55a058e6c0 fix status of Polymer tests, some are passing on safari
Review URL: https://codereview.chromium.org//25653002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28138 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 00:36:01 +00:00
jmesserly@google.com cf3dcfba4c Port Polymer.js Core, the github.com/polymer/polymer code.
Ports all features except where JS interop is blocking us (declaration/path.js and instance/style.js). In particular, this has:
  //   src/declaration/attributes.js
  //   src/declaration/events.js
  //   src/declaration/polymer-element.js
  //   src/declaration/properties.js
  //   src/declaration/prototype.js
  //   src/declaration/styles.js
  //   src/instance/attributes.js
  //   src/instance/base.js
  //   src/instance/events.js
  //   src/instance/mdv.js
  //   src/instance/properties.js
  //   src/instance/utils.js
  //   src/lib/deserialize.js
  //   src/lib/job.js
  //   src/lib/dom.js -- not needed in Dart
  //   src/lib/lang.js -- not needed in Dart
  //   src/lib/super.js -- not needed in Dart

There's also a big architectural change: polymer-element data is now stored in the PolymerDeclaration class, which is separate from PolymerElement. This allows us to avoid duplicate work on every constructor, and should significantly speed up instance creation.

All code is from the same revision:
https://github.com/Polymer/polymer/blob/4dc481c11505991a7c43228d3797d28f21267779

The remaining unported files are for relatively minor features. "declaration/path.js" is for asset URL resolution, and we might have a Pub-based solution instead. "instance/style.js" has an opt-in, advanced style polyfill. It needs "ShadowCSS.shimPolyfillDirectives", and probably isn't too hard to make work in a follow up change.

Other changes:
* attributeChanged lifecycle method is implemented.
* ObservableAnnotation is public so Polymer's @published can subclass it
* bindProperty renamed to onPropertyChange to avoid conflict with Polymer member of the same name.
* polymer/lib/boot.js preload's polymer-element and link[rel=stylesheet]

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28134 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 23:45:37 +00:00
zra@google.com 1a9d6cfb1f Adds the BreakpointRuntime stub to ARM and MIPS.
Also:
- Makes some stub calls patachable.
- Updates pkg.status for an unrelated failing test.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28066 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-30 20:17:48 +00:00
regis@google.com 3d1b108dc5 Third try: "Slow" does not imply "Pass".
Review URL: https://codereview.chromium.org//25112003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28022 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 19:41:24 +00:00
regis@google.com 4dc34bb9f2 Mark recently enabled test as slow on simmips as well.
Review URL: https://codereview.chromium.org//25043003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28020 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 17:19:24 +00:00
regis@google.com d7d6f9c6ba Mark recently enabled test as slow on simarm.
Review URL: https://codereview.chromium.org//25041004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28019 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 17:13:19 +00:00
fschneider@google.com 96bcfa4162 Skip pkg/ test on ARM hardware until the underlying issue is fixed.
BUG=13624

TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28002 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 10:54:53 +00:00