Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

Revert "fixed memory leak while importing html elements in IE"#665

Merged
kevinpschaaf merged 1 commit into
masterfrom
revert-644-541-memory-leak-ie11
Jan 26, 2017
Merged

Revert "fixed memory leak while importing html elements in IE"#665
kevinpschaaf merged 1 commit into
masterfrom
revert-644-541-memory-leak-ie11

Conversation

@sorvell
Copy link
Copy Markdown
Contributor

@sorvell sorvell commented Jan 26, 2017

Reverts #644.

Unfortunately, this PR is incorrect and must be reverted. ShadowRoot elements do not contain <head> or <body> elements as was added here. The custom elements polyfill was changed to always observe <head> and <body> on every element it observes, including documents and shadowRoots. This caused any custom elements added to shadowRoots to not be seen by the mutation observer since the observer is observing disconnected, unused shadowRoot.head and shadowRoot.body elements rather than the shadowRoot itself.

We'll make sure the issue here gets re-opened and will definitely consider other fixes for the core issue.

@kevinpschaaf
Copy link
Copy Markdown
Contributor

LGTM, failing tests seem to be status quo.

@kevinpschaaf kevinpschaaf merged commit 0d285e7 into master Jan 26, 2017
@kevinpschaaf kevinpschaaf deleted the revert-644-541-memory-leak-ie11 branch January 26, 2017 19:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants