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

Unified Diff: tests/html/custom/template_wrappers_test.dart

Issue 158083002: introduce web_components pkg for consolidated polyfills (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | « tests/html/custom/mirrors_test.html ('k') | tests/html/custom/template_wrappers_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/custom/template_wrappers_test.dart
diff --git a/tests/html/custom/template_wrappers_test.dart b/tests/html/custom/template_wrappers_test.dart
index c52ad7b0b64ca3ba3c2a9551f6f828b73fc895a2..4953d333fdaa78e1f274649d07b613b744e09ad2 100644
--- a/tests/html/custom/template_wrappers_test.dart
+++ b/tests/html/custom/template_wrappers_test.dart
@@ -22,17 +22,10 @@ class CustomElement extends HtmlElement {
}
}
-// Pump custom events polyfill events.
-void customElementsTakeRecords() {
- if (js.context != null && js.context.hasProperty('CustomElements')) {
- js.context['CustomElements'].callMethod('takeRecords');
- }
-}
-
main() {
useHtmlConfiguration();
- setUp(loadPolyfills);
+ setUp(customElementsReady);
test('element is upgraded once', () {
« no previous file with comments | « tests/html/custom/mirrors_test.html ('k') | tests/html/custom/template_wrappers_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698