Yes, , when closing activity app, activity-done is also triggered, setDisplayedApp and setCloseFrame(null), then the closing class cannot add to the closing iframe , so the animationend event doesn't have "closeApp " keyword to do windowClosed .