mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
more test fixes.
This commit is contained in:
parent
e07f9e1d61
commit
f20cc83f7f
@ -337,11 +337,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
assert.equal(el.$.container.domHost, el);
|
||||
});
|
||||
|
||||
test('legacy settings agree with webcomponents settings', function() {
|
||||
var flags = window.WebComponents.flags;
|
||||
assert.equal(Polymer.Settings.useShadow, !flags.shadydom);
|
||||
assert.equal(Polymer.Settings.useNativeCustomElements, !flags.ce);
|
||||
assert.equal(Polymer.Settings.useNativeCSSProperties, !flags.shimcssproperties);
|
||||
test('legacy settings', function() {
|
||||
assert.equal(Polymer.Settings.useShadow, !(window.ShadyDOM));
|
||||
assert.equal(Polymer.Settings.useNativeCustomElements, !(window.customElements.polyfillWrapFlushCallback));
|
||||
assert.equal(Polymer.Settings.useNativeCSSProperties, Boolean(!window.ShadyCSS || window.ShadyCSS.nativeCss));
|
||||
});
|
||||
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user