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

Unified Diff: sky/tests/dom/appendChild.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/framework/sky-element/sky-element.sky ('k') | sky/tests/dom/replaceChild.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/dom/appendChild.sky
diff --git a/sky/tests/dom/appendChild.sky b/sky/tests/dom/appendChild.sky
index 60da8036d7fffb7209712b2b6e57a2818308c8f7..e9025c9beb255debffcda3db81715f528d25bcfe 100644
--- a/sky/tests/dom/appendChild.sky
+++ b/sky/tests/dom/appendChild.sky
@@ -53,7 +53,7 @@ describe("appendChild", 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.appendChild(doc);
});
« no previous file with comments | « sky/framework/sky-element/sky-element.sky ('k') | sky/tests/dom/replaceChild.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698