frameSubtreeWillBeDetachedEvents

Fired before frame subtree is detached. Emitted before any frame of the subtree is actually detached.

Official doc