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

Unified Diff: sky/tests/mutation-observer/shadow-dom.sky

Issue 759663003: Only allow one shadowRoot. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: ojan review. Created 6 years, 1 month 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 | « sky/tests/dom/replaceChild.sky ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/mutation-observer/shadow-dom.sky
diff --git a/sky/tests/mutation-observer/shadow-dom.sky b/sky/tests/mutation-observer/shadow-dom.sky
index 43a20f6ba2ac6e6b6591c7cd7a5ef87b35615be4..f2d1f49b28814a63cbd6ad82241307af9b0cdf33 100644
--- a/sky/tests/mutation-observer/shadow-dom.sky
+++ b/sky/tests/mutation-observer/shadow-dom.sky
@@ -13,7 +13,7 @@ describe('MutationObservers', function() {
}
var range = document.getElementById('range');
- var shadowRoot = range.createShadowRoot();
+ var shadowRoot = range.ensureShadowRoot();
shadowRoot.appendChild(document.createElement('div'));
var observer = new MutationObserver(function() { });
« no previous file with comments | « sky/tests/dom/replaceChild.sky ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698