(In reply to Hiroyuki Ikezoe (:hiro) from comment #3) > Looks like frames (nsIFrames) in the permission popup keep alive even if the popup window is closed. Is it intentional? I think that's how popup windows are implemented, yes. When a popup is closed, its frames do not get destroyed. It's possible that we could change that, but it seems a bit risky. And yes, while front-end can do various things to work around this, I think it would be preferable to have a general solution so that doesn't tick animations which are in the frame subtree of an `nsMenuPopupFrame` which returns `false` from `IsOpen()`.
Bug 1693176 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Hiroyuki Ikezoe (:hiro) from comment #3) > Looks like frames (nsIFrames) in the permission popup keep alive even if the popup window is closed. Is it intentional? I think that's how popup windows are implemented, yes. When a popup is closed, its frames do not get destroyed. It's possible that we could change that, but it seems a bit risky. And yes, while front-end can do various things to work around this, I think it would be preferable to have a general solution so that we don't tick animations which are in the frame subtree of an `nsMenuPopupFrame` which returns `false` from `IsOpen()`.