Changeset 248333 in webkit
- Timestamp:
- Aug 6, 2019, 5:33:34 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebProcessProxy.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r248330 r248333 1 2019-08-06 Chris Dumez <cdumez@apple.com> 2 3 Add release assertions to help catch a bug in our WebProcessCache implementation 4 https://bugs.webkit.org/show_bug.cgi?id=200483 5 6 Reviewed by Geoffrey Garen. 7 8 Add release assertions to help catch a bug in our WebProcessCache implementation. We 9 have evidence (rdar://problem/53962494) that we have processes with a page which 10 starts a provisional load while the process is in the WebProcessCache. This should 11 not be possible. 12 13 * UIProcess/WebProcessProxy.cpp: 14 (WebKit::WebProcessProxy::setIsInProcessCache): 15 (WebKit::WebProcessProxy::addExistingWebPage): 16 1 17 2019-08-06 Dean Jackson <dino@apple.com> 2 18 -
trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp
r247396 r248333 202 202 void WebProcessProxy::setIsInProcessCache(bool value) 203 203 { 204 if (value) { 205 RELEASE_ASSERT(m_pageMap.isEmpty()); 206 RELEASE_ASSERT(!m_suspendedPageCount); 207 RELEASE_ASSERT(m_provisionalPages.isEmpty()); 208 } 209 204 210 ASSERT(m_isInProcessCache != value); 205 211 m_isInProcessCache = value; … … 396 402 ASSERT(!m_pageMap.contains(webPage.pageID())); 397 403 ASSERT(!globalPageMap().contains(webPage.pageID())); 398 ASSERT(!m_isInProcessCache);404 RELEASE_ASSERT(!m_isInProcessCache); 399 405 ASSERT(!m_websiteDataStore || m_websiteDataStore == &webPage.websiteDataStore()); 400 406
Note:
See TracChangeset
for help on using the changeset viewer.