diff --git a/test/runner.html b/test/runner.html index 484c778a42..b84f6bb2da 100644 --- a/test/runner.html +++ b/test/runner.html @@ -69,7 +69,7 @@ 'unit/styling-cross-scope-apply.html?lazyRegister=true&useNativeCSSProperties=true', 'unit/styling-cross-scope-apply.html?dom=shadow', 'unit/styling-cross-scope-apply.html?dom=shadow&lazyRegister=true&useNativeCSSProperties=true', - 'unit/styling-cross-scope-unknown-host.html', + 'unit/styling-cross-scope-unknown-host-shadow.html', 'unit/style-cache.html', 'unit/custom-style.html', 'unit/custom-style-scope-cache.html', @@ -97,13 +97,15 @@ 'unit/element-disable-upgrade.html' ]; - if (document.body.createShadowRoot) { - var idx = suites.indexOf('unit/polymer-dom-shadow.html'); - suites.splice(idx, 0, 'unit/polymer-dom-native-shadow.html'); - } if (window.customElements || document.registerElement) { suites.push('unit/attach-detach-timing.html'); } + if (/edge/i.test(navigator.userAgent)) { + // Skip testing on ShadowDOM Polyfill on Edge; it lacks workarounds for + // Edge DocumentFragment bugs + suites = suites.filter(function(s) { return s.indexOf('-shadow.html') < 0; }); + } + WCT.loadSuites(suites); diff --git a/test/unit/dom-bind-yield.html b/test/unit/dom-bind-yield.html index 4a438b2770..bb45baea7e 100644 --- a/test/unit/dom-bind-yield.html +++ b/test/unit/dom-bind-yield.html @@ -12,7 +12,7 @@ - + diff --git a/test/unit/gestures.html b/test/unit/gestures.html index 5840ded1c5..be46409a7a 100644 --- a/test/unit/gestures.html +++ b/test/unit/gestures.html @@ -12,7 +12,7 @@ - + diff --git a/test/unit/polymer-dom-native-shadow.html b/test/unit/polymer-dom-native-shadow.html deleted file mode 100644 index ea55ec6ce4..0000000000 --- a/test/unit/polymer-dom-native-shadow.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - -
-
-
-
- - -
Bar
-
Foo
-
- - -
-
- - -
-
- - - - - - - - - -
- - 1 - 2 -
- - - - - - - - - - - - - diff --git a/test/unit/styling-cross-scope-unknown-host.html b/test/unit/styling-cross-scope-unknown-host-shadow.html similarity index 100% rename from test/unit/styling-cross-scope-unknown-host.html rename to test/unit/styling-cross-scope-unknown-host-shadow.html