Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] test:unit fails with ?wc-shadydom=true&wc-ce=true options #7

Open
t2ym opened this issue Jan 15, 2019 · 0 comments
Open

[test] test:unit fails with ?wc-shadydom=true&wc-ce=true options #7

t2ym opened this issue Jan 15, 2019 · 0 comments

Comments

@t2ym
Copy link
Owner

t2ym commented Jan 15, 2019

[test] test:unit fails with ?wc-shadydom=true&wc-ce=true options

Suspected Root Cause

  • ShadyDOM polyfill is not working well
    • Updating to the latest @webcomponents/shadycss@1.8.0 but still reproducible

Error Message

wct-mocha.js:2384 Error stamping 
<template>​#document-fragment<counter-element>​</counter-element>​</template>​
TypeError: window.ShadyCSS.ScopingShim.prepareAdoptedCssText is not a function
    at HTMLElement.adoptStyles (lit-element.ts:140)
    at HTMLElement.initialize (lit-element.ts:95)
    at new UpdatingElement (updating-element.ts:253)
    at new LitElement (lit-element.ts:25)
    at new MixinClass (i18n.js:48)
    at new I18nBaseElement (i18n.js:100)
    at new CounterElement (counter-element.js:67)
    at ye (CustomElementInternals.js:266)
    at Q.e (CustomElementInternals.js:177)
    at Q (CustomElementInternals.js:231)

Workaround

  • Skip ShadyDOM tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant