| Index: tests/html/shadowroot_test.dart
|
| diff --git a/tests/html/shadowroot_test.dart b/tests/html/shadowroot_test.dart
|
| index 4fb6fa08d4b78ec78ab11153c575215653607e91..1b027c6d1929d16f37ab3cfc48207f25f200f1d6 100644
|
| --- a/tests/html/shadowroot_test.dart
|
| +++ b/tests/html/shadowroot_test.dart
|
| @@ -18,10 +18,10 @@ main() {
|
|
|
| // If it's supported, then it should work. Otherwise should fail.
|
| if (isSupported) {
|
| - var shadowRoot = new ShadowRoot(new DivElement());
|
| + var shadowRoot = new DivElement().webkitCreateShadowRoot();
|
| expect(shadowRoot, isShadowRoot);
|
| } else {
|
| - expect(() => new ShadowRoot(new DivElement()), throws);
|
| + expect(() => new DivElement().webkitCreateShadowRoot(), throws);
|
| }
|
| });
|
| }
|
|
|