Changeset 150691 in webkit
- Timestamp:
- May 25, 2013 2:34:26 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r150689 r150691 1 2013-05-25 Andreas Kling <akling@apple.com> 2 3 REGRESSION: WebProcess is terminated when all Safari windows are closed. 4 <rdar://problem/13990901> 5 <http://webkit.org/b/116766> 6 7 Reviewed by Alexey Proskuryakov. 8 9 When closing the last page, only disconnect the web process if we're using a network process. 10 Otherwise there might be session state in the web process getting lost. 11 12 * UIProcess/WebProcessProxy.cpp: 13 (WebKit::WebProcessProxy::removeWebPage): 14 1 15 2013-05-25 Santosh Mahto <santosh.ma@samsung.com> 2 16 -
trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp
r150500 r150691 202 202 203 203 // If this was the last WebPage open in that web process, and we have no other reason to keep it alive, let it go. 204 if (canTerminateChildProcess()) { 204 // We only allow this when using a network process, as otherwise the WebProcess needs to preserve its session state. 205 if (m_context->usesNetworkProcess() && canTerminateChildProcess()) { 205 206 abortProcessLaunchIfNeeded(); 206 207 disconnect();
Note: See TracChangeset
for help on using the changeset viewer.