|
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
Committed: https://code.google.com/p/dart/source/detail?r=28956
Total comments: 36
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+436 lines, -184 lines) |
Patch |
|
|
pkg/custom_element/lib/polyfill.dart
|
View
|
1
2
3
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
|
pkg/observe/lib/src/dirty_check.dart
|
View
|
1
|
2 chunks |
+51 lines, -1 line |
0 comments
|
Download
|
|
|
pkg/observe/lib/transform.dart
|
View
|
1
|
4 chunks |
+31 lines, -9 lines |
0 comments
|
Download
|
|
|
pkg/observe/test/transform_test.dart
|
View
|
1
2
3
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
|
pkg/pkg.status
|
View
|
1
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
|
pkg/polymer/lib/builder.dart
|
View
|
1
2
3
|
6 chunks |
+32 lines, -4 lines |
0 comments
|
Download
|
|
|
pkg/polymer/lib/deploy.dart
|
View
|
1
|
4 chunks |
+19 lines, -6 lines |
0 comments
|
Download
|
|
|
pkg/polymer/lib/platform.dart
|
View
|
1
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
|
pkg/polymer/lib/polymer.dart
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
|
pkg/polymer/lib/src/build/common.dart
|
View
|
1
|
1 chunk |
+20 lines, -1 line |
0 comments
|
Download
|
|
|
pkg/polymer/lib/src/build/polyfill_injector.dart
|
View
|
1
2
3
|
3 chunks |
+30 lines, -3 lines |
0 comments
|
Download
|
|
|
pkg/polymer/lib/src/declaration.dart
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
|
pkg/polymer/lib/src/instance.dart
|
View
|
1
2
|
6 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
|
|
pkg/polymer/lib/src/loader.dart
|
View
|
1
2
3
|
1 chunk |
+29 lines, -17 lines |
0 comments
|
Download
|
|
|
pkg/polymer/test/attr_deserialize_test.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
|
pkg/polymer/test/attr_mustache_test.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
|
pkg/polymer/test/build/all_phases_test.dart
|
View
|
1
|
4 chunks |
+4 lines, -12 lines |
0 comments
|
Download
|
|
|
pkg/polymer/test/build/polyfill_injector_test.dart
|
View
|
1
|
3 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/test/instance_attrs_test.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/test/prop_attr_reflection_test.dart
|
View
|
1
|
4 chunks |
+60 lines, -58 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/test/publish_attributes_test.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
samples/third_party/todomvc/test/listorder_test.dart
|
View
|
1
2
3
|
2 chunks |
+24 lines, -17 lines |
0 comments
|
Download
|
|
M |
samples/third_party/todomvc/test/markdone_test.dart
|
View
|
1
2
3
|
2 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
|
M |
samples/third_party/todomvc/web/editable_label.dart
|
View
|
1
|
1 chunk |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
samples/third_party/todomvc/web/todo_row.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|