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

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

Powered by Google App Engine
This is Rietveld 408576698