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

Unified Diff: tests/html/shadowroot_test.dart

Issue 11664009: Adjustments to next Chrome roll. (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/shadow_dom_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
});
}
« no previous file with comments | « tests/html/shadow_dom_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698