JSDOMWindow should have a WatchpointSet to fire on window close
[WebKit-https.git] / Source / WebCore / page / DOMWindow.cpp
index f206dd3..52facb6 100644 (file)
@@ -457,6 +457,7 @@ void DOMWindow::frameDestroyed()
     willDestroyDocumentInFrame();
     FrameDestructionObserver::frameDestroyed();
     resetDOMWindowProperties();
+    JSDOMWindowBase::fireFrameClearedWatchpointsForWindow(this);
 }
 
 void DOMWindow::willDetachPage()