Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Unified Diff: pkg/polymer/test/template_distribute_dynamic_test.dart

Issue 558673004: update polymer js to 0.4.0 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: review updates Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/polymer/test/template_attr_template_test_import.html ('k') | pkg/polymer_expressions/CHANGELOG.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/template_distribute_dynamic_test.dart
diff --git a/pkg/polymer/test/template_distribute_dynamic_test.dart b/pkg/polymer/test/template_distribute_dynamic_test.dart
index d808419da4cbed3e9191ba23bf53ae59ef522766..4b57a193be17d6620b166188b333e666c1b6efb2 100644
--- a/pkg/polymer/test/template_distribute_dynamic_test.dart
+++ b/pkg/polymer/test/template_distribute_dynamic_test.dart
@@ -39,15 +39,7 @@ class XTest extends PolymerElement {
'shadowDOM dynamic distribution via template');
expect(children[2].text, 'bar', reason:
'shadowDOM dynamic distribution via template');
-
- // TODO(jmesserly): restore this if we get the JS interop capability.
- /*
- if (window.ShadowDOMPolyfill) {
- var actualChildren = this.$.echo.impl.children;
- chai.assert.equal(actualChildren.length, 4,
- 'shadowDOMPolyfill distributes expected number of actual children.');
- }
- */
+ expect(children.length, 3, reason: 'expected number of children');
});
}
}
« no previous file with comments | « pkg/polymer/test/template_attr_template_test_import.html ('k') | pkg/polymer_expressions/CHANGELOG.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698