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

Failed to execute 'attachShadow' #59

Open
dimaqq opened this issue Sep 17, 2021 · 3 comments
Open

Failed to execute 'attachShadow' #59

dimaqq opened this issue Sep 17, 2021 · 3 comments
Labels
Status: Need More Info Lacks enough info to make progress Type: Bug Bug or Bug fixes

Comments

@dimaqq
Copy link

dimaqq commented Sep 17, 2021

Failed with:
Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.

Source: chrome-extension://gfhlfpnpjokocfohicmfbgjneiipfeil/scripts/pageScript.js in HTMLElement.connectedCallback at line 112:1910

Chrome version:93.0.4577

@dimaqq
Copy link
Author

dimaqq commented Sep 17, 2021

The stack trace is weird, it seems that that happens when user code calls this.appendChild( elem ); in random jQuery

@azu
Copy link
Member

azu commented Sep 17, 2021

Fmm, Can you provide a website for reproducing?

Shadow root cannot be created on a host which already hosts a shadow tree.

That web site may have used Web Component.

@azu azu added the Type: Bug Bug or Bug fixes label Sep 17, 2021
@dimaqq
Copy link
Author

dimaqq commented Sep 17, 2021

No, sorry... The website is oldschool (jQuery), it wouldn't know about web components.
This came from automated reporting from customer system.
If someone manages to reproduce this, I'll update here.
Also, I can't be sure about other extensions that user's browser may have had installed.

@azu azu added the Status: Need More Info Lacks enough info to make progress label Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Need More Info Lacks enough info to make progress Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants