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

Unified Diff: tests/html/custom/attribute_changed_callback_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 | « samples/third_party/todomvc/web/app/app.css ('k') | tests/html/custom/attribute_changed_callback_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/custom/attribute_changed_callback_test.dart
diff --git a/tests/html/custom/attribute_changed_callback_test.dart b/tests/html/custom/attribute_changed_callback_test.dart
index 69d93576f91639727228bc9f43df6a37f90f0574..14b861407f8875a68ff0cc50f77ad128026126b2 100644
--- a/tests/html/custom/attribute_changed_callback_test.dart
+++ b/tests/html/custom/attribute_changed_callback_test.dart
@@ -49,15 +49,13 @@ main() {
// Adapted from Blink's fast/dom/custom/attribute-changed-callback test.
var registered = false;
- setUp(() {
- return loadPolyfills().then((_) {
- if (!registered) {
- registered = true;
- document.register(A.tag, A);
- document.register(B.tag, B);
- }
- });
- });
+ setUp(() => customElementsReady.then((_) {
+ if (!registered) {
+ registered = true;
+ document.register(A.tag, A);
+ document.register(B.tag, B);
+ }
+ }));
group('fully_supported', () {
test('transfer attribute changed callback', () {
« no previous file with comments | « samples/third_party/todomvc/web/app/app.css ('k') | tests/html/custom/attribute_changed_callback_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698