Changes since 2.7.22
Fixes
-
Attach polymer binding callback to a promise that always resolves (#14729) (CP: 2.7)
Commit · Pull request · IssuePolymer binding callback was attached to the promise returned by customElements.whenDefined, but this promise may never complete if the input element is not a custom element, causing memory leaks on browser because of element capture. This change introduces a new promise that completes either when whenDefined is fulfilled or after a fixed timeout, allowing the garbage collector to clean resources.
-
Ignore nonexistent nodes during resync (#14749) (#14768)
Commit · Pull request · Issues 14232, 14470Ignore changes for nodes that are not available in the tree when a resync is underway. This will get the page to a working condition after a resync as all changes for existing nodes are executed.