This patch changes the opening window's parameter as WebContents instead of initial url so that keeps the connection of a parent window and a child window(=the popup). Also the patch changes a management of WebContents lifecycle to fix the leakage of it.
This patch changes the opening window's parameter as WebContents instead of initial url so that keeps the connection of a parent window and a child window(=the popup). Also the patch changes a management of WebContents lifecycle to fix the leakage of it.