From 0985652eeaaf7ed05971c8b5c0b476ae0b4f3859 Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Tue, 17 Apr 2018 11:36:20 -0700 Subject: [PATCH] no more undefined.hasShadow --- test/unit/dom-if.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/dom-if.html b/test/unit/dom-if.html index fbff335b48..2d14b9d432 100644 --- a/test/unit/dom-if.html +++ b/test/unit/dom-if.html @@ -744,7 +744,7 @@ }); test('move into shadow root', function(done) { - if (undefined.hasShadow) { + if (window.ShadyCSS && window.ShadyCSS.nativeShadow) { let el = shouldBeRemoved; assert.equal(el.parentNode, removalContainer); let div = document.createElement('div');