Changeset 281175 in webkit
- Timestamp:
- Aug 17, 2021, 5:55:59 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebsiteData/WebsiteDataStore.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r281158 r281175 1 2021-08-17 Sihui Liu <sihui_liu@apple.com> 2 3 Fix crash in TestWebKitAPI.NetworkProcess.CrashWhenNotAssociatedWithDataStore 4 https://bugs.webkit.org/show_bug.cgi?id=229209 5 rdar://82040197 6 7 Reviewed by Geoffrey Garen. 8 9 When getting network process connection fails, we don't need to retry or crash UI process if web process is 10 already gone. 11 12 * UIProcess/WebsiteData/WebsiteDataStore.cpp: 13 (WebKit::WebsiteDataStore::getNetworkProcessConnection): 14 1 15 2021-08-17 Fujii Hironori <Hironori.Fujii@sony.com> 2 16 -
trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
r281096 r281175 1737 1737 return; 1738 1738 1739 if (!webProcessProxy) 1740 return; 1741 1739 1742 int networkProcessIdentifier = 0; 1740 1743 String networkProcessState = "Unknown"_s; … … 1743 1746 networkProcessState = networkProcessProxy->stateString(); 1744 1747 } 1745 RELEASE_ASSERT_NOT_REACHED_WITH_MESSAGE("WebsiteDataStore::getNetworkProcessConnection: Failed to get connection - networkProcessProxy=%p, networkProcessIdentifier=%d, processState=%s, webProcessProxy=%p, webProcessIdentifier=%d", networkProcessProxy.get(), networkProcessIdentifier, networkProcessState.utf8().data(), webProcessProxy.get(), webProcessProxy ? webProcessProxy->processIdentifier() : 0);1748 RELEASE_ASSERT_NOT_REACHED_WITH_MESSAGE("WebsiteDataStore::getNetworkProcessConnection: Failed to get connection - networkProcessProxy=%p, networkProcessIdentifier=%d, processState=%s, webProcessProxy=%p, webProcessIdentifier=%d", networkProcessProxy.get(), networkProcessIdentifier, networkProcessState.utf8().data(), webProcessProxy.get(), webProcessProxy->processIdentifier()); 1746 1749 #endif 1747 1750 }; 1748 1751 1749 if (shouldRetryOnFailure == ShouldRetryOnFailure::No ) {1752 if (shouldRetryOnFailure == ShouldRetryOnFailure::No || !webProcessProxy) { 1750 1753 logError(); 1751 1754 reply({ });
Note:
See TracChangeset
for help on using the changeset viewer.