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

Unified Diff: sky/tests/dom/replaceChild.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/appendChild.sky ('k') | sky/tests/mutation-observer/shadow-dom.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/dom/replaceChild.sky
diff --git a/sky/tests/dom/replaceChild.sky b/sky/tests/dom/replaceChild.sky
index 17cc7ad7bb21360e9bde8f800122841bb78e1410..bfa1d24262027cb68a14e076abab3b72db8f3f3e 100644
--- a/sky/tests/dom/replaceChild.sky
+++ b/sky/tests/dom/replaceChild.sky
@@ -67,7 +67,7 @@ describe("replaceChild", function() {
it("should throw when inserting a tree scope", function() {
var parent = document.createElement("div");
var doc = new Document();
- var shadowRoot = document.createElement("span").createShadowRoot();
+ var shadowRoot = document.createElement("span").ensureShadowRoot();
assert.throws(function() {
parent.replaceChild(doc);
});
« no previous file with comments | « sky/tests/dom/appendChild.sky ('k') | sky/tests/mutation-observer/shadow-dom.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698