Skip to content

Conversation

@aslushnikov
Copy link
Contributor

Elements in shadow dom erroneously considered that they were detached
from document.

This patch starts using Element.isConnected instead of
document.contains() call.

Fixes #1061.

Elements in shadow dom erroneously considered that they were detached
from document.

This patch starts using `Element.isConnected` instead of
`document.contains()` call.

Fixes puppeteer#1061.
@aslushnikov aslushnikov merged commit c9a26e1 into puppeteer:master Oct 31, 2017
@aslushnikov aslushnikov deleted the fix-shadowdom branch January 25, 2018 21:53
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

Successfully merging this pull request may close these issues.

2 participants