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', () { |