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

ShadowRoot.mode and ShadowRoot.delegatesFocus properties are enumerable in synthetic shadow #989

Closed
pmdartus opened this issue Jan 21, 2019 · 1 comment
Labels

Comments

@pmdartus
Copy link
Member

Description

Currently, the ShadowRoot.mode and ShadowRoot.delegatesFocus properties are defined as enumerable, while they shouldn't.

const elm = createElement('x-test', { is: Test });
document.body.appendChild(elm);

console.log(Object.keys(elm.shadowRoot));
// Actual: ["mode", "delegatesFocus"]
// Expected: []

Version

  • LWC: 0.35.4
@pmdartus
Copy link
Member Author

Fixed with #998

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

No branches or pull requests

2 participants