When wrappers are destroyed it doesn't necessarily happen in the tree order, we need to keep the parent alive to emit the children-changed signal.
Created attachment 450116 [details] Patch
Committed r288725 (246518@trunk): <https://commits.webkit.org/246518@trunk>