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

Unified Diff: tests/html/shadowroot_test.dart

Issue 23576013: Fixing Element.shadowRoot to work with webkitShadowRoot (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months 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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | 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 56cf13b5c0d62864a9105c2008c703a5c66e3dc7..04e0b5e2c8ad92ed5930fda1264273166de3dd35 100644
--- a/tests/html/shadowroot_test.dart
+++ b/tests/html/shadowroot_test.dart
@@ -18,8 +18,10 @@ main() {
// If it's supported, then it should work. Otherwise should fail.
if (isSupported) {
- var shadowRoot = new DivElement().createShadowRoot();
+ var div = new DivElement();
+ var shadowRoot = div.createShadowRoot();
expect(shadowRoot, isShadowRoot);
+ expect(div.shadowRoot, shadowRoot);
} else {
expect(() => new DivElement().createShadowRoot(), throws);
}
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698