diff --git a/test/unit/dir.html b/test/unit/dir.html index 8dd6d5ec6f..f528567424 100644 --- a/test/unit/dir.html +++ b/test/unit/dir.html @@ -57,7 +57,7 @@ static get is() {return 'x-inner-dir';} } customElements.define(XInnerDir.is, XInnerDir); - }) + }); diff --git a/test/unit/styling-cross-scope-var.html b/test/unit/styling-cross-scope-var.html index ab14ec302b..be4786ea08 100644 --- a/test/unit/styling-cross-scope-var.html +++ b/test/unit/styling-cross-scope-var.html @@ -790,7 +790,7 @@ }); test('instances of scoped @keyframes', function(done) { - if (navigator.userAgent.match(/Safari\/603/) && ShadyCSS.nativeCss && ShadyCSS.nativeShadow) { + if (navigator.userAgent.match(/Safari\/60(3|4)/) && ShadyCSS.nativeCss && ShadyCSS.nativeShadow) { // `:nth-of-type` is broken in shadow roots on Safari 10.1 // https://bugs.webkit.org/show_bug.cgi?id=166748 this.skip();