Changeset 236989 in webkit
- Timestamp:
- Oct 9, 2018 4:40:21 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r236988 r236989 1 2018-10-09 Alex Christensen <achristensen@webkit.org> 2 3 REGRESSION(r231663) loading in hidden WKWebViews stalls because WebProcess is suspended 4 https://bugs.webkit.org/show_bug.cgi?id=190417 5 <rdar://problem/43391014> 6 7 Reviewed by Chris Dumez. 8 9 * UIProcess/Cocoa/NavigationState.mm: 10 (WebKit::NavigationState::didChangeIsLoading): 11 Revert r321663, but keep the change to TestWKWebView.mm because that made the tests more reliable. 12 1 13 2018-10-09 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/Source/WebKit/UIProcess/Cocoa/NavigationState.mm
r236344 r236989 1105 1105 } 1106 1106 } else if (m_activityToken) { 1107 if (m_webView._isBackground) 1108 releaseNetworkActivityTokenAfterLoadCompletion(); 1109 else { 1110 // The application is visible so we delay releasing the background activity for 3 seconds to give it a chance to start another navigation 1111 // before suspending the WebContent process <rdar://problem/27910964>. 1112 RELEASE_LOG_IF(m_webView->_page->isAlwaysOnLoggingAllowed(), ProcessSuspension, "%p - NavigationState will release its process network assertion soon because the page load completed", this); 1113 m_releaseActivityTimer.startOneShot(3_s); 1114 } 1107 // The application is visible so we delay releasing the background activity for 3 seconds to give it a chance to start another navigation 1108 // before suspending the WebContent process <rdar://problem/27910964>. 1109 RELEASE_LOG_IF(m_webView->_page->isAlwaysOnLoggingAllowed(), ProcessSuspension, "%p - NavigationState will release its process network assertion soon because the page load completed", this); 1110 m_releaseActivityTimer.startOneShot(3_s); 1115 1111 } 1116 1112 #endif
Note: See TracChangeset
for help on using the changeset viewer.