Fix latent mistake using old SD API

This commit is contained in:
Kevin Schaaf
2018-04-23 22:24:21 -07:00
parent 7f9de46c72
commit 3f24f71d06

View File

@@ -748,7 +748,7 @@ suite('attach/detach tests', function() {
assert.equal(el.parentNode, removalContainer);
let div = document.createElement('div');
document.body.appendChild(div);
let frag = div.createShadowRoot();
let frag = div.attachShadow({mode: 'open'});
frag.appendChild(toBeRemoved);
setTimeout(function() {
assert.equal(el.parentNode, frag);