| Index: pkg/custom_element/test/custom_element_test.dart
|
| diff --git a/pkg/custom_element/test/custom_element_test.dart b/pkg/custom_element/test/custom_element_test.dart
|
| index d5894c2d49bcd95ac7c08f04e50b90a2d0414903..e2f920a18f2ad1321481e918abe5272fd0d8cc21 100644
|
| --- a/pkg/custom_element/test/custom_element_test.dart
|
| +++ b/pkg/custom_element/test/custom_element_test.dart
|
| @@ -37,9 +37,12 @@ customElementTests() {
|
| return new Future(() {
|
| expect(xtag.lifecycle, ['created', 'inserted']);
|
| element.remove();
|
| - return new Future(() {
|
| + // TODO(jmesserly): the extra future here is to give IE9 time to deliver
|
| + // its event. This seems wrong. We'll probably need some cooperation
|
| + // between Dart and the polyfill to coordinate the microtask event loop.
|
| + return new Future(() => new Future(() {
|
| expect(xtag.lifecycle, ['created', 'inserted', 'removed']);
|
| - });
|
| + }));
|
| });
|
| });
|
|
|
|
|