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

Unified Diff: tests/html/shadow_dom_layout_test.dart

Issue 11642004: Revert "Cleaning up shadow dom tests." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
« no previous file with comments | « tests/html/html.status ('k') | tests/html/shadow_dom_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « tests/html/html.status ('k') | tests/html/shadow_dom_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698