Chromium Code Reviews| Index: tests/html/shadow_dom_layout_test.dart |
| diff --git a/tests/html/shadow_dom_layout_test.dart b/tests/html/shadow_dom_layout_test.dart |
| index 929995120002e7ed9677ab55fb4f41a0d22d1196..ec809ca134aa31f8a7c8871365375201bedc1d5a 100644 |
| --- a/tests/html/shadow_dom_layout_test.dart |
| +++ b/tests/html/shadow_dom_layout_test.dart |
| @@ -20,15 +20,10 @@ main() { |
| var greenbox = _colorBox('green', 60, 10); |
| // assemble DOM |
| - try { |
| - var sRoot = new ShadowRoot(div); |
| - sRoot.nodes.add(new Element.html('<content select=".foo"></content>')); |
| - sRoot.nodes.add(redbox); |
| - sRoot.nodes.add(new Element.tag('content')); |
| - catch () { |
|
Emily Fortuna
2012/12/18 22:12:50
missed a closing } here
|
| - // Shadow Root may not be supported and throw an exception. |
| - // Catch and continue to fail the test rather than hang. |
| - } |
| + var sRoot = new ShadowRoot(div); |
| + sRoot.nodes.add(new Element.html('<content select=".foo"></content>')); |
| + sRoot.nodes.add(redbox); |
| + sRoot.nodes.add(new Element.tag('content')); |
| div.nodes.add(bluebox); |
| div.nodes.add(greenbox); |